Struct embedded_tls::TlsWriter
source · pub struct TlsWriter<'a, Socket, CipherSuite, State>where
CipherSuite: TlsCipherSuite + 'static,{ /* private fields */ }
Trait Implementations§
source§impl<'a, Socket, CipherSuite, State> AsRef<Socket> for TlsWriter<'a, Socket, CipherSuite, State>where
CipherSuite: TlsCipherSuite + 'static,
impl<'a, Socket, CipherSuite, State> AsRef<Socket> for TlsWriter<'a, Socket, CipherSuite, State>where
CipherSuite: TlsCipherSuite + 'static,
source§impl<'a, Socket, CipherSuite, State> ErrorType for TlsWriter<'a, Socket, CipherSuite, State>where
CipherSuite: TlsCipherSuite + 'static,
impl<'a, Socket, CipherSuite, State> ErrorType for TlsWriter<'a, Socket, CipherSuite, State>where
CipherSuite: TlsCipherSuite + 'static,
source§impl<'a, Socket, CipherSuite, State> Write for TlsWriter<'a, Socket, CipherSuite, State>where
Socket: AsyncWrite + 'a,
CipherSuite: TlsCipherSuite + 'static,
State: SplitState,
impl<'a, Socket, CipherSuite, State> Write for TlsWriter<'a, Socket, CipherSuite, State>where
Socket: AsyncWrite + 'a,
CipherSuite: TlsCipherSuite + 'static,
State: SplitState,
source§async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Auto Trait Implementations§
impl<'a, Socket, CipherSuite, State> RefUnwindSafe for TlsWriter<'a, Socket, CipherSuite, State>where
Socket: RefUnwindSafe,
State: RefUnwindSafe,
<<<CipherSuite as TlsCipherSuite>::Hash as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<<<CipherSuite as TlsCipherSuite>::Hash as OutputSizeUser>::OutputSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<CipherSuite as TlsCipherSuite>::Hash: RefUnwindSafe,
impl<'a, Socket, CipherSuite, State> Send for TlsWriter<'a, Socket, CipherSuite, State>
impl<'a, Socket, CipherSuite, State> Sync for TlsWriter<'a, Socket, CipherSuite, State>
impl<'a, Socket, CipherSuite, State> Unpin for TlsWriter<'a, Socket, CipherSuite, State>where
Socket: Unpin,
State: Unpin,
<<<CipherSuite as TlsCipherSuite>::Hash as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
<<<CipherSuite as TlsCipherSuite>::Hash as OutputSizeUser>::OutputSize as ArrayLength<u8>>::ArrayType: Unpin,
<CipherSuite as TlsCipherSuite>::Hash: Unpin,
impl<'a, Socket, CipherSuite, State> !UnwindSafe for TlsWriter<'a, Socket, CipherSuite, State>
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