mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-04 12:16: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
|
let dest = rpc_processor
|
||||||
.resolve_target_to_destination(
|
.resolve_target_to_destination(
|
||||||
vc.target.clone(),
|
vc.target,
|
||||||
SafetySelection::Unsafe(Sequencing::NoPreference),
|
SafetySelection::Unsafe(Sequencing::NoPreference),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
@ -909,7 +909,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
evcis.push(EarlyValueChangedInfo {
|
evcis.push(EarlyValueChangedInfo {
|
||||||
target: w.target.clone(),
|
target: w.target,
|
||||||
key: rtk.key,
|
key: rtk.key,
|
||||||
subkeys,
|
subkeys,
|
||||||
count,
|
count,
|
||||||
|
@ -196,7 +196,7 @@ impl StorageManager {
|
|||||||
subkeys.clone(),
|
subkeys.clone(),
|
||||||
expiration,
|
expiration,
|
||||||
count,
|
count,
|
||||||
target.clone(),
|
target,
|
||||||
watcher,
|
watcher,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
@ -3,7 +3,7 @@ use super::*;
|
|||||||
///////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/// Valid destinations for a message sent over a routing context
|
/// 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 {
|
pub enum Target {
|
||||||
/// Node by its public key
|
/// Node by its public key
|
||||||
NodeId(TypedKey),
|
NodeId(TypedKey),
|
||||||
|
Loading…
Reference in New Issue
Block a user