pub enum ObjectSyntax<'a> {
Number(DerObject<'a>),
String(&'a [u8]),
Object(Oid),
BitString(u8, BitStringObject<'a>),
Empty,
UnknownSimple(DerObject<'a>),
IpAddress(NetworkAddress),
Counter32(Counter),
Gauge32(Gauge),
TimeTicks(TimeTicks),
Opaque(&'a [u8]),
NsapAddress(&'a [u8]),
Counter64(u64),
UInteger32(u32),
UnknownApplication(u8, &'a [u8]),
}
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)