pub enum DecoderInstruction {
SectionAcknowledgment(u64),
StreamCancellation(u64),
InsertCountIncrement(u64),
}
Variants§
Trait Implementations§
Source§impl Debug for DecoderInstruction
impl Debug for DecoderInstruction
Source§impl PDU for DecoderInstruction
impl PDU for DecoderInstruction
fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
buf: &'life1 mut BitWriter<W, BigEndian>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Sync + Unpin,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn decode<'life0, 'async_trait, R>( buf: &'life0 mut BitReader<R, BigEndian>, ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
fn encode_bytes<'life0, 'life1, 'async_trait, W>(
&'life0 self,
buf: &'life1 mut W,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + Send + Sync + Unpin,
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn decode_bytes<'life0, 'async_trait, R>( buf: &'life0 mut R, ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
fn to_vec<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<u8>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn from_bytes<'life0, 'async_trait>(
data: &'life0 [u8],
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for DecoderInstruction
impl RefUnwindSafe for DecoderInstruction
impl Send for DecoderInstruction
impl Sync for DecoderInstruction
impl Unpin for DecoderInstruction
impl UnwindSafe for DecoderInstruction
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