[−][src]Trait ldap3::asn1::ASNTag
Conversion of a tag into a serializable form.
Required methods
fn into_structure(self) -> StructureTag
Encode yourself into a generic Tag format.
The only thing that changes between types is how to encode the wrapped value into bytes; the encoding of the class and id does not change. By first converting the tag into a more generic tag (with already encoded payload), we don't have to reimplement the encoding step for class/id every time.
Implementations on Foreign Types
impl<T> ASNTag for SetOf<T> where
T: ASNTag,
[src]
T: ASNTag,
fn into_structure(self) -> StructureTag
[src]
impl<T> ASNTag for SequenceOf<T> where
T: ASNTag,
[src]
T: ASNTag,