Enum ldap3::asn1::Tag
[−]
[src]
pub enum Tag { Integer(Integer), Enumerated(Enumerated), Sequence(Sequence), Set(Set), OctetString(OctetString), Boolean(Boolean), Null(Null), ExplicitTag(ExplicitTag), StructureTag(StructureTag), }
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
impl ASNTag for Tag
[src]
fn into_structure(self) -> StructureTag
Encode yourself into a generic Tag format. Read more
impl PartialEq<Tag> for Tag
[src]
fn eq(&self, __arg_0: &Tag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tag) -> bool
This method tests for !=
.
impl Debug for Tag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Tag
[src]
fn clone(&self) -> Tag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more