pub struct SliceInput<'a> { /* private fields */ }Expand description
A borrowed version of VecInput that tracks discard operations
Implementations§
Source§impl<'a> SliceInput<'a>
impl<'a> SliceInput<'a>
Trait Implementations§
Source§impl<'a> Debug for SliceInput<'a>
impl<'a> Debug for SliceInput<'a>
Source§impl TlsInputBuffer for SliceInput<'_>
impl TlsInputBuffer for SliceInput<'_>
Source§fn slice_mut(&mut self) -> &mut [u8] ⓘ
fn slice_mut(&mut self) -> &mut [u8] ⓘ
Return the buffer which contains the received data. Read more
Source§fn received_close_notify(&mut self)
fn received_close_notify(&mut self)
Signal that the connection has received a TLS
close_notify alert. Read moreSource§fn has_seen_eof(&self) -> bool
fn has_seen_eof(&self) -> bool
Whether the buffer has seen a TCP EOF. Read more
Auto Trait Implementations§
impl<'a> !UnwindSafe for SliceInput<'a>
impl<'a> Freeze for SliceInput<'a>
impl<'a> RefUnwindSafe for SliceInput<'a>
impl<'a> Send for SliceInput<'a>
impl<'a> Sync for SliceInput<'a>
impl<'a> Unpin for SliceInput<'a>
impl<'a> UnsafeUnpin for SliceInput<'a>
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