mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-04 12:44:19 -04:00
Merge branch 'salvatoret/copyable-target' into 'main'
Make Target copy-able See merge request veilid/veilid!253
This commit is contained in:
commit
ff853a6546
4 changed files with 4 additions and 4 deletions
|
@ -734,7 +734,7 @@ impl StorageManager {
|
|||
|
||||
let dest = rpc_processor
|
||||
.resolve_target_to_destination(
|
||||
vc.target.clone(),
|
||||
vc.target,
|
||||
SafetySelection::Unsafe(Sequencing::NoPreference),
|
||||
)
|
||||
.await
|
||||
|
|
|
@ -909,7 +909,7 @@ where
|
|||
}
|
||||
|
||||
evcis.push(EarlyValueChangedInfo {
|
||||
target: w.target.clone(),
|
||||
target: w.target,
|
||||
key: rtk.key,
|
||||
subkeys,
|
||||
count,
|
||||
|
|
|
@ -196,7 +196,7 @@ impl StorageManager {
|
|||
subkeys.clone(),
|
||||
expiration,
|
||||
count,
|
||||
target.clone(),
|
||||
target,
|
||||
watcher,
|
||||
)
|
||||
.await?;
|
||||
|
|
|
@ -3,7 +3,7 @@ use super::*;
|
|||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// Valid destinations for a message sent over a routing context
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash, Copy, PartialOrd, Ord)]
|
||||
pub enum Target {
|
||||
/// Node by its public key
|
||||
NodeId(TypedKey),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue