Enum sequoia_openpgp::packet::user_attribute::Subpacket
source · [−]Expand description
User Attribute subpackets.
See Section 5.12 of RFC 4880 for details.
Variants
Image(Image)
Image subpacket.
See Section 5.12.1 of RFC 4880 for details.
Unknown(u8, Box<[u8]>)
Unknown subpacket.
Trait Implementations
sourceimpl MarshalInto for Subpacket
impl MarshalInto for Subpacket
sourcefn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Computes the maximal length of the serialized representation. Read more
sourcefn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Serializes into the given buffer. Read more
impl Eq for Subpacket
impl StructuralEq for Subpacket
impl StructuralPartialEq for Subpacket
Auto Trait Implementations
impl RefUnwindSafe for Subpacket
impl Send for Subpacket
impl Sync for Subpacket
impl Unpin for Subpacket
impl UnwindSafe for Subpacket
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