pub struct Length(_);
Expand description
ASN.1-encoded length.
Maximum length is defined by the Length::MAX
constant (256 MiB).
Implementations§
Trait Implementations§
source§impl Encodable for Length
impl Encodable for Length
source§impl Ord for Length
impl Ord for Length
source§impl PartialOrd<Length> for Length
impl PartialOrd<Length> for Length
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more