pub enum Tag {
Integer(Integer),
Enumerated(Enumerated),
Sequence(Sequence),
Set(Set),
OctetString(OctetString),
Boolean(Boolean),
Null(Null),
ExplicitTag(ExplicitTag),
StructureTag(StructureTag),
}Expand description
Set of basic ASN.1 types used by LDAP.
Variants§
Integer(Integer)
Integer value.
Enumerated(Enumerated)
Integer with a different tag.
Sequence(Sequence)
Sequence of values.
Set(Set)
Set of values; doesn’t allow duplicates.
OctetString(OctetString)
String of bytes.
Boolean(Boolean)
Boolean value.
Null(Null)
Null value.
ExplicitTag(ExplicitTag)
Explicitly tagged value. LDAP uses implicit tagging, but external structures might not.
StructureTag(StructureTag)
Serializable value.
Trait Implementations§
Source§impl ASNTag for Tag
impl ASNTag for Tag
Source§fn into_structure(self) -> StructureTag
fn into_structure(self) -> StructureTag
Encode yourself into a generic Tag format. Read more
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more