pub struct MDC { /* fields omitted */ }
Expand description
Holds an MDC packet.
A modification detection code packet. This packet appears after a
SEIP packet. See Section 5.14 of RFC 4880 for details.
Two MDC
packets are considered equal if their serialized form is
equal. This excludes the computed digest.
Gets the packet’s hash value.
Gets the computed hash value.
Returns whether the data protected by the MDC is valid.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Implement IntoIterator
so that
cert::insert_packets(sig)
just works.
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Writes a serialized version of the object to o
.
Exports a serialized version of the object to o
. Read more
Computes the maximal length of the serialized representation. Read more
Serializes the packet to a vector.
Reads from the given reader.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.