pub struct NoiseTransport { /* private fields */ }Expand description
An established Noise session over TCP, framed per the
confium_net::Transport contract: one send observed as one
recv payload.
Implementations§
Source§impl NoiseTransport
impl NoiseTransport
Sourcepub fn remote_fingerprint(&self) -> [u8; 32]
pub fn remote_fingerprint(&self) -> [u8; 32]
SHA-256 fingerprint of the authenticated remote static key.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NoiseTransport
impl !UnwindSafe for NoiseTransport
impl Freeze for NoiseTransport
impl Send for NoiseTransport
impl Sync for NoiseTransport
impl Unpin for NoiseTransport
impl UnsafeUnpin for NoiseTransport
Blanket Implementations§
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