Enum sequoia_openpgp::packet::user_attribute::Subpacket
source · pub enum Subpacket {
Image(Image),
Unknown(u8, Box<[u8]>),
}
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§
source§impl MarshalInto for Subpacket
impl MarshalInto for Subpacket
source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Computes the maximal length of the serialized representation. Read more
source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Serializes into the given buffer. Read more
source§impl PartialEq for Subpacket
impl PartialEq for Subpacket
impl Eq for Subpacket
impl StructuralPartialEq for Subpacket
Auto Trait Implementations§
impl Freeze for Subpacket
impl RefUnwindSafe for Subpacket
impl Send for Subpacket
impl Sync for Subpacket
impl Unpin for Subpacket
impl UnwindSafe for Subpacket
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)