pub struct Trust { /* private fields */ }
Expand description
Holds a Trust packet.
Trust packets are used to hold implementation specific information in an implementation-defined format. Trust packets are normally not exported.
See Section 5.10 of RFC 4880 for details.
Implementations
Trait Implementations
sourceimpl Any<Trust> for Packet
impl Any<Trust> for Packet
sourcefn downcast(self) -> Result<Trust, Packet>
fn downcast(self) -> Result<Trust, Packet>
Attempts to downcast to T
, returning the packet if it fails. Read more
sourcefn downcast_ref(&self) -> Option<&Trust>
fn downcast_ref(&self) -> Option<&Trust>
Attempts to downcast to &T
, returning None
if it fails. Read more
sourcefn downcast_mut(&mut self) -> Option<&mut Trust>
fn downcast_mut(&mut self) -> Option<&mut Trust>
Attempts to downcast to &mut T
, returning None
if it fails. Read more
sourceimpl IntoIterator for Trust
impl IntoIterator for Trust
Implement IntoIterator
so that
cert::insert_packets(sig)
just works.
sourceimpl MarshalInto for Trust
impl MarshalInto for Trust
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, Trust> for Trust
impl<'a> Parse<'a, Trust> for Trust
impl Eq for Trust
impl StructuralEq for Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnwindSafe for Trust
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