Struct sequoia_openpgp::packet::Marker
source · [−]pub struct Marker { /* private fields */ }
Expand description
Holds a Marker packet.
See Section 5.8 of RFC 4880 for details.
Trait Implementations
sourceimpl Any<Marker> for Packet
impl Any<Marker> for Packet
sourcefn downcast(self) -> Result<Marker, Packet>
fn downcast(self) -> Result<Marker, Packet>
Attempts to downcast to T
, returning the packet if it fails. Read more
sourcefn downcast_ref(&self) -> Option<&Marker>
fn downcast_ref(&self) -> Option<&Marker>
Attempts to downcast to &T
, returning None
if it fails. Read more
sourcefn downcast_mut(&mut self) -> Option<&mut Marker>
fn downcast_mut(&mut self) -> Option<&mut Marker>
Attempts to downcast to &mut T
, returning None
if it fails. Read more
sourceimpl IntoIterator for Marker
impl IntoIterator for Marker
Implement IntoIterator
so that
cert::insert_packets(sig)
just works.
sourceimpl MarshalInto for Marker
impl MarshalInto for Marker
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
sourceimpl<'a> Parse<'a, Marker> for Marker
impl<'a> Parse<'a, Marker> for Marker
impl Eq for Marker
impl StructuralEq for Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnwindSafe for Marker
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