pub struct EncryptedSocketStreamReader<'scope> { /* private fields */ }Expand description
Plaintext input which drives its retained TLS receive future. No lock spans an asynchronous wait; paused input does not prevent application output.
Trait Implementations§
Source§impl ReadableStream for EncryptedSocketStreamReader<'_>
impl ReadableStream for EncryptedSocketStreamReader<'_>
Source§async fn read_into(
&mut self,
buffer: &mut [u8],
cancellation: &Cancellation,
) -> OperationResult<usize>
async fn read_into( &mut self, buffer: &mut [u8], cancellation: &Cancellation, ) -> OperationResult<usize>
Read a possibly short prefix. Empty storage does not establish EOF.
Auto Trait Implementations§
impl<'scope> !RefUnwindSafe for EncryptedSocketStreamReader<'scope>
impl<'scope> !UnwindSafe for EncryptedSocketStreamReader<'scope>
impl<'scope> Freeze for EncryptedSocketStreamReader<'scope>
impl<'scope> Send for EncryptedSocketStreamReader<'scope>
impl<'scope> Sync for EncryptedSocketStreamReader<'scope>
impl<'scope> Unpin for EncryptedSocketStreamReader<'scope>
impl<'scope> UnsafeUnpin for EncryptedSocketStreamReader<'scope>
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