pub struct LinkTransport { /* private fields */ }Expand description
A keyed link between two proved machines.
Implementations§
Source§impl LinkTransport
impl LinkTransport
Sourcepub fn sending_nonce(&self) -> u64
pub fn sending_nonce(&self) -> u64
The nonce Noise will use to seal the next transport message.
Sourcepub fn set_receiving_nonce(&mut self, nonce: u64)
pub fn set_receiving_nonce(&mut self, nonce: u64)
Selects the explicit nonce of the next received transport message.
Sourcepub const fn peer(&self) -> &MachineIdentity
pub const fn peer(&self) -> &MachineIdentity
The machine the handshake proved on the other end.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LinkTransport
impl !UnwindSafe for LinkTransport
impl Freeze for LinkTransport
impl Send for LinkTransport
impl Sync for LinkTransport
impl Unpin for LinkTransport
impl UnsafeUnpin for LinkTransport
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