Struct der::Length [−][src]
pub struct Length(_);
Expand description
ASN.1-encoded length.
Maximum length is defined by the Length::MAX
constant (256 MiB).
Implementations
Trait Implementations
Compute the length of this value in bytes when encoded as ASN.1 DER.
Encode this value as ASN.1 DER using the provided Encoder
.
Encode this value to the provided byte slice, returning a sub-slice containing the encoded message. Read more
alloc
only.Encode this message as ASN.1 DER, appending it to the provided byte vector. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Length
impl UnwindSafe for Length
Blanket Implementations
Mutably borrows from an owned value. Read more