Struct async_psec::SessionWriteHalf [−][src]
pub struct SessionWriteHalf { /* fields omitted */ }Expand description
The write half of a PSEC session. Obtained with Session::into_split.
Trait Implementations
impl Debug for SessionWriteHalf[src]
impl Debug for SessionWriteHalf[src]impl PsecWriter for SessionWriteHalf[src]
impl PsecWriter for SessionWriteHalf[src]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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]Encrypt then send through a PSEC session. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SessionWriteHalf
impl Send for SessionWriteHalf
impl Sync for SessionWriteHalf
impl Unpin for SessionWriteHalf
impl !UnwindSafe for SessionWriteHalf
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,