Struct rustls::server::UnbufferedServerConnection
source · pub struct UnbufferedServerConnection { /* private fields */ }
Expand description
Unbuffered version of ServerConnection
See the crate::unbuffered
module docs for more details
Implementations§
Methods from Deref<Target = UnbufferedConnectionCommon<ServerConnectionData>>§
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.
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.
Trait Implementations§
source§impl Deref for UnbufferedServerConnection
impl Deref for UnbufferedServerConnection
§type Target = UnbufferedConnectionCommon<ServerConnectionData>
type Target = UnbufferedConnectionCommon<ServerConnectionData>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for UnbufferedServerConnection
impl !RefUnwindSafe for UnbufferedServerConnection
impl Send for UnbufferedServerConnection
impl Sync for UnbufferedServerConnection
impl Unpin for UnbufferedServerConnection
impl !UnwindSafe for UnbufferedServerConnection
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