pub enum Open {
Tcp {
host: Ipv4Addr,
port: u16,
},
}Expand description
Opener frame sent by the in-enclave daemon on every new connection.
Wire format: 4-byte big-endian length prefix, then CBOR-encoded
Open, then the bidirectional byte stream begins.
IPv6 is intentionally not representable here. The epic punts IPv6 for v1; the in-enclave filter is expected to reject v6 destinations before they ever reach the wire.
Variants§
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