Struct rustls::unbuffered::UnbufferedConnectionCommon
source · pub struct UnbufferedConnectionCommon<Data> { /* private fields */ }
Expand description
Interface shared by unbuffered client and server connections.
Implementations§
source§impl UnbufferedConnectionCommon<ClientConnectionData>
impl UnbufferedConnectionCommon<ClientConnectionData>
sourcepub fn process_tls_records<'c, 'i>(
&'c mut self,
incoming_tls: &'i mut [u8]
) -> UnbufferedStatus<'c, 'i, ClientConnectionData>
pub fn process_tls_records<'c, 'i>( &'c mut self, incoming_tls: &'i mut [u8] ) -> UnbufferedStatus<'c, 'i, ClientConnectionData>
Processes the TLS records in incoming_tls
buffer until a new UnbufferedStatus
is
reached.
source§impl UnbufferedConnectionCommon<ServerConnectionData>
impl UnbufferedConnectionCommon<ServerConnectionData>
sourcepub fn process_tls_records<'c, 'i>(
&'c mut self,
incoming_tls: &'i mut [u8]
) -> UnbufferedStatus<'c, 'i, ServerConnectionData>
pub fn process_tls_records<'c, 'i>( &'c mut self, incoming_tls: &'i mut [u8] ) -> UnbufferedStatus<'c, 'i, ServerConnectionData>
Processes the TLS records in incoming_tls
buffer until a new UnbufferedStatus
is
reached.
Auto Trait Implementations§
impl<Data> Freeze for UnbufferedConnectionCommon<Data>where
Data: Freeze,
impl<Data> !RefUnwindSafe for UnbufferedConnectionCommon<Data>
impl<Data> Send for UnbufferedConnectionCommon<Data>where
Data: Send,
impl<Data> Sync for UnbufferedConnectionCommon<Data>where
Data: Sync,
impl<Data> Unpin for UnbufferedConnectionCommon<Data>where
Data: Unpin,
impl<Data> !UnwindSafe for UnbufferedConnectionCommon<Data>
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