pub struct Boolean<'a> { /* private fields */ }
Expand description
An ASN.1-DER boolean type view
Writes a new boolean object with value
into sink
and returns a type view over it
Writes a boolean value
as DER-object to sink
Performs copy-assignment from
source
.
Read more
Loads object
as Self
Decodes an object as Self
Decodes an object as Self
Reads an object from
source
by parsing the length field and copying the necessary bytes
into
sink
and decoding it from
sink
Read more
Encodes self
into sink
Creates an DER object from an encodable type
The tag for this type
Provides raw access to the underlying DerObject
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.