pub struct LinuxUnderlaySession { /* private fields */ }Expand description
Established encrypted underlay session (either dial or accept side).
Implementations§
Source§impl LinuxUnderlaySession
impl LinuxUnderlaySession
pub async fn send_encrypted( &mut self, plaintext: &[u8], ) -> Result<(), MeshUnderlayError>
pub async fn recv_encrypted(&self) -> Result<Vec<u8>, MeshUnderlayError>
Auto Trait Implementations§
impl !Freeze for LinuxUnderlaySession
impl RefUnwindSafe for LinuxUnderlaySession
impl Send for LinuxUnderlaySession
impl Sync for LinuxUnderlaySession
impl Unpin for LinuxUnderlaySession
impl UnsafeUnpin for LinuxUnderlaySession
impl UnwindSafe for LinuxUnderlaySession
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