pub enum EncoderInstruction {
SetDynamicTableCapacity(u64),
InsertNameReference {
name_index: FieldIndex,
value: FieldString,
},
InsertLiteralName {
name: FieldString,
value: FieldString,
},
Duplicate(u64),
}
Variants§
Trait Implementations§
Source§impl Debug for EncoderInstruction
impl Debug for EncoderInstruction
Source§impl PDU for EncoderInstruction
impl PDU for EncoderInstruction
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 EncoderInstruction
impl RefUnwindSafe for EncoderInstruction
impl Send for EncoderInstruction
impl Sync for EncoderInstruction
impl Unpin for EncoderInstruction
impl UnwindSafe for EncoderInstruction
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