Fields
data: Box<[u8]>
offset: usize
Trait Implementations
sourceimpl Debug for InputPacketBytesPrepared
impl Debug for InputPacketBytesPrepared
sourceimpl From<OutputPacketBytesVec> for InputPacketBytesPrepared
impl From<OutputPacketBytesVec> for InputPacketBytesPrepared
sourcefn from(output: OutputPacketBytesVec) -> Self
fn from(output: OutputPacketBytesVec) -> Self
Converts to this type from the input type.
sourceimpl InputPacketBytes for InputPacketBytesPrepared
impl InputPacketBytes for InputPacketBytesPrepared
fn take_byte<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = InputPacketBytesResult<u8>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn take_slice<'life0, 'life1, 'async_trait>(
&'life0 mut self,
slice: &'life1 mut [u8]
) -> Pin<Box<dyn Future<Output = InputPacketBytesResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn take_vec<'life0, 'life1, 'async_trait>(
&'life0 mut self,
vec: &'life1 mut Vec<u8>,
count: usize
) -> Pin<Box<dyn Future<Output = InputPacketBytesResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn has_bytes(&self, count: usize) -> bool
fn remaining_bytes(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for InputPacketBytesPrepared
impl Send for InputPacketBytesPrepared
impl Sync for InputPacketBytesPrepared
impl Unpin for InputPacketBytesPrepared
impl UnwindSafe for InputPacketBytesPrepared
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more