pub enum EncoderInput {
Indexed(u32),
IndexedName(u32, Vec<u8>, u8),
Literal(Vec<u8>, Vec<u8>, u8),
}
Expand description
Provides encoder input format options.
Variants§
Indexed(u32)
Represents a fully indexed header field.
IndexedName(u32, Vec<u8>, u8)
Represents a header field where name is represented by an index and the value is provided in bytes. This format can hold configuration flags.
Literal(Vec<u8>, Vec<u8>, u8)
Represents a header field where name and value are provided in bytes. This format can hold configuration flags.
Trait Implementations§
Source§impl Debug for EncoderInput
impl Debug for EncoderInput
Auto Trait Implementations§
impl Freeze for EncoderInput
impl RefUnwindSafe for EncoderInput
impl Send for EncoderInput
impl Sync for EncoderInput
impl Unpin for EncoderInput
impl UnwindSafe for EncoderInput
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