pub struct UnderlayTransportKey { /* private fields */ }Expand description
32-byte transport key for underlay AEAD (encrypts the pipe — not auth).
Implementations§
Source§impl UnderlayTransportKey
impl UnderlayTransportKey
pub fn from_bytes(bytes: [u8; 32]) -> Self
pub fn try_from_slice(bytes: &[u8]) -> Result<Self, MeshUnderlayError>
Trait Implementations§
Source§impl Clone for UnderlayTransportKey
impl Clone for UnderlayTransportKey
Auto Trait Implementations§
impl Freeze for UnderlayTransportKey
impl RefUnwindSafe for UnderlayTransportKey
impl Send for UnderlayTransportKey
impl Sync for UnderlayTransportKey
impl Unpin for UnderlayTransportKey
impl UnsafeUnpin for UnderlayTransportKey
impl UnwindSafe for UnderlayTransportKey
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