pub struct VecInput { /* private fields */ }Expand description
A buffer of TLS bytes read from a socket, stored in a Vec<u8>.
Implementations§
Trait Implementations§
Source§impl TlsInputBuffer for VecInput
impl TlsInputBuffer for VecInput
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 Freeze for VecInput
impl RefUnwindSafe for VecInput
impl Send for VecInput
impl Sync for VecInput
impl Unpin for VecInput
impl UnsafeUnpin for VecInput
impl UnwindSafe for VecInput
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