mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-30 09:46:55 -06: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
@ -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…
Reference in New Issue
Block a user