pub struct Open {
pub target_peer: String,
}Expand description
Opener frame the in-enclave node writes on every new mesh
connection to mesh-host.
Wire format: 4-byte big-endian length prefix, then CBOR-encoded
Open, then the bidirectional byte stream begins.
target_peer is an opaque, deployment-defined peer identifier (the
logical name of one of the other synchronizer nodes). mesh-host
owns the target_peer -> host endpoint mapping; this module deals
only in the name.
Fields§
§target_peer: StringLogical name of the synchronizer peer the node wants to reach.
Resolved to a concrete host endpoint by mesh-host.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Open
impl<'de> Deserialize<'de> for Open
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Open
impl StructuralPartialEq for Open
Auto Trait Implementations§
impl Freeze for Open
impl RefUnwindSafe for Open
impl Send for Open
impl Sync for Open
impl Unpin for Open
impl UnsafeUnpin for Open
impl UnwindSafe for Open
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more