Enum sequoia_openpgp::packet::user_attribute::Image
source · pub enum Image {
JPEG(Box<[u8]>),
Private(u8, Box<[u8]>),
Unknown(u8, Box<[u8]>),
}
Expand description
Image subpacket.
See Section 5.12.1 of RFC 4880 for details.
Variants§
JPEG(Box<[u8]>)
A JPEG image format.
Private(u8, Box<[u8]>)
Private, experimental image format.
Unknown(u8, Box<[u8]>)
Unknown image format.
Trait Implementations§
source§impl MarshalInto for Image
impl MarshalInto for Image
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 Image
impl PartialEq for Image
impl Eq for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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
)