pub struct SessionWriteHalf { /* private fields */ }Expand description
The write half of a PSEC session. Obtained with Session::into_split.
Trait Implementations§
Source§impl Debug for SessionWriteHalf
impl Debug for SessionWriteHalf
Source§impl PsecWriter for SessionWriteHalf
impl PsecWriter for SessionWriteHalf
Source§fn encrypt_and_send<'life0, 'life1, 'async_trait>(
&'life0 mut self,
plain_text: &'life1 [u8],
use_padding: bool,
) -> Pin<Box<dyn Future<Output = Result<(), PsecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn encrypt_and_send<'life0, 'life1, 'async_trait>(
&'life0 mut self,
plain_text: &'life1 [u8],
use_padding: bool,
) -> Pin<Box<dyn Future<Output = Result<(), PsecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Encrypt then send through a PSEC session. Read more
Auto Trait Implementations§
impl Freeze for SessionWriteHalf
impl RefUnwindSafe for SessionWriteHalf
impl Send for SessionWriteHalf
impl Sync for SessionWriteHalf
impl Unpin for SessionWriteHalf
impl UnwindSafe for SessionWriteHalf
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