pub struct Unparsed(/* private fields */);
Expand description
Generic container for Extension
-specific content.
Accessing the inner Vec<u8>
is only possible via conversion methods.
Implementations§
Trait Implementations§
Source§impl Encode for Unparsed
impl Encode for Unparsed
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<()>
fn encode(&self, writer: &mut impl Writer) -> Result<()>
Encode this value using the provided
Writer
.Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32
length prefix.Source§fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value, first prepending a
uint32
length prefix
set to Encode::encoded_len
.impl StructuralPartialEq for Unparsed
Auto Trait Implementations§
impl Freeze for Unparsed
impl RefUnwindSafe for Unparsed
impl Send for Unparsed
impl Sync for Unparsed
impl Unpin for Unparsed
impl UnwindSafe for Unparsed
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