Struct der::Length [−][src]
pub struct Length(_);
Expand description
ASN.1-encoded length.
Maximum length is defined by the Length::MAX constant (1 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 Lengthimpl UnwindSafe for LengthBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self