pub struct FrontRustls {
pub stream: TcpStream,
pub session: ServerConnection,
}
Fields§
§stream: TcpStream
§session: ServerConnection
Trait Implementations§
Source§impl SocketHandler for FrontRustls
impl SocketHandler for FrontRustls
fn socket_read(&mut self, buf: &mut [u8]) -> (usize, SocketResult)
fn socket_write(&mut self, buf: &[u8]) -> (usize, SocketResult)
fn socket_write_vectored( &mut self, bufs: &[IoSlice<'_>], ) -> (usize, SocketResult)
fn socket_close(&mut self)
fn socket_wants_write(&self) -> bool
fn socket_ref(&self) -> &TcpStream
fn socket_mut(&mut self) -> &mut TcpStream
fn protocol(&self) -> TransportProtocol
fn read_error(&self)
fn write_error(&self)
Auto Trait Implementations§
impl !Freeze for FrontRustls
impl !RefUnwindSafe for FrontRustls
impl Send for FrontRustls
impl Sync for FrontRustls
impl Unpin for FrontRustls
impl !UnwindSafe for FrontRustls
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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