diff --git a/flexiber/struct.SimpleTag.html b/flexiber/struct.SimpleTag.html
index 65a9621..6d8cd62 100644
--- a/flexiber/struct.SimpleTag.html
+++ b/flexiber/struct.SimpleTag.html
@@ -19,8 +19,8 @@ by ==. fn ne(&self, other: &SimpleTag) -> bool[src]
This method tests for !=.
impl StructuralEq for SimpleTag[src]impl StructuralPartialEq for SimpleTag[src]impl TagLike for SimpleTag[src]fn embedding(self) -> Tag[src]To stick with one Error type, make sure the tag type can somehow or other be coerced into a BerTag. Read more
-fn assert_eq(self, expected: Self) -> Result<Self>[src]fn with_value<V>(self, value: V) -> TaggedValue<V, Self>[src]Ergonomic way to get a TaggedValue for a given tag and value
+fn assert_eq(self, expected: Self) -> Result<Self>[src]fn with_value<V>(self, value: V) -> TaggedValue<V, Self>[src]Ergonomic way to get a TaggedValue for a given tag and value
impl TryFrom<u8> for SimpleTag[src]type Error = ErrorThe type returned in the event of a conversion error.
fn try_from(tag_number: u8) -> Result<Self>[src]Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]pub fn type_id(&self) -> TypeId[src]Gets the TypeId of self. Read more
The tag field consists of a single byte encoding a tag number from 1 to 254. The values '00' and 'FF' are invalid.
class: Classconstructed: boolnumber: u16impl Tag[src]pub fn from(class: Class, constructed: bool, number: u16) -> Self[src]pub fn universal(number: u16) -> Self[src]pub fn application(number: u16) -> Self[src]pub fn context(number: u16) -> Self[src]pub fn private(number: u16) -> Self[src]pub fn constructed(self) -> Self[src]impl Clone for Tag[src]fn clone(&self) -> Tag[src]Returns a copy of the value. Read more
+ Fieldsclass: Classconstructed: boolnumber: u16impl Tag[src]pub const BOOLEAN: Self[src]pub const INTEGER: Self[src]pub const BIT_STRING: Self[src]pub const OCTET_STRING: Self[src]pub const NULL: Self[src]pub const OBJECT_IDENTIFIER: Self[src]pub const UTF8_STRING: Self[src]pub const PRINTABLE_STRING: Self[src]pub const UTC_TIME: Self[src]pub const GENERALIZED_TIME: Self[src]pub const SEQUENCE: Self[src]pub fn from(class: Class, constructed: bool, number: u16) -> Self[src]pub const fn universal(number: u16) -> Self[src]pub const fn application(number: u16) -> Self[src]pub const fn context(number: u16) -> Self[src]pub const fn private(number: u16) -> Self[src]pub const fn constructed(self) -> Self[src]impl Clone for Tag[src]fn clone(&self) -> Tag[src]Returns a copy of the value. Read more
pub fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Copy for Tag[src]impl Debug for Tag[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]Formats the value using the given formatter. Read more
-impl Decodable<'_> for Tag[src]fn decode(decoder: &mut Decoder<'_>) -> Result<Self>[src]Attempt to decode this message using the provided decoder.
+impl Copy for Tag[src]impl Debug for Tag[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]Formats the value using the given formatter. Read more
+impl Decodable<'_> for Tag[src]fn decode(decoder: &mut Decoder<'_>) -> Result<Self>[src]Attempt to decode this message using the provided decoder.
fn from_bytes(bytes: &'a [u8]) -> Result<Self>[src]Parse Self from the provided byte slice.
impl Display for Tag[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]Formats the value using the given formatter. Read more
-impl Encodable for Tag[src]fn encoded_length(&self) -> Result<Length>[src]Compute the length of this value in bytes when encoded as BER-TLV
-fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>[src]Encode this value as BER-TLV using the provided Encoder.
impl Display for Tag[src]fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]Formats the value using the given formatter. Read more
+impl Encodable for Tag[src]fn encoded_length(&self) -> Result<Length>[src]Compute the length of this value in bytes when encoded as BER-TLV
+fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>[src]Encode this value as BER-TLV using the provided Encoder.
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>[src]Encode this value to the provided byte slice, returning a sub-slice containing the encoded message. Read more
impl Eq for Tag[src]impl PartialEq<Tag> for Tag[src]fn eq(&self, other: &Tag) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &Tag) -> bool[src]This method tests for !=.
impl StructuralEq for Tag[src]impl StructuralPartialEq for Tag[src]impl TagLike for Tag[src]impl StructuralEq for Tag[src]impl StructuralPartialEq for Tag[src]impl TagLike for Tag[src]fn embedding(self) -> Tag[src]To stick with one Error type, make sure the tag type can somehow or other be coerced into a BerTag. Read more
-fn assert_eq(self, expected: Self) -> Result<Self>[src]fn with_value<V>(self, value: V) -> TaggedValue<V, Self>[src]Ergonomic way to get a TaggedValue for a given tag and value
-impl TryFrom<&'_ [u8]> for Tag[src]type Error = ErrorThe type returned in the event of a conversion error.
-fn try_from(encoding: &[u8]) -> Result<Self>[src]Performs the conversion.
-impl TryFrom<u8> for Tag[src]type Error = ErrorThe type returned in the event of a conversion error.
-fn try_from(encoded_value: u8) -> Result<Self>[src]Performs the conversion.
+fn assert_eq(self, expected: Self) -> Result<Self>[src]fn with_value<V>(self, value: V) -> TaggedValue<V, Self>[src]Ergonomic way to get a TaggedValue for a given tag and value
+impl TryFrom<&'_ [u8]> for Tag[src]type Error = ErrorThe type returned in the event of a conversion error.
+fn try_from(encoding: &[u8]) -> Result<Self>[src]Performs the conversion.
+impl TryFrom<u8> for Tag[src]impl<T> Any for T where
T: 'static + ?Sized, [src]impl<T> Borrow<T> for T where
T: ?Sized, [src]impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
diff --git a/flexiber/trait.Decodable.html b/flexiber/trait.Decodable.html index 5f08b0d..1f49574 100644 --- a/flexiber/trait.Decodable.html +++ b/flexiber/trait.Decodable.html @@ -12,4 +12,4 @@fn from_bytes(bytes: &'a [u8]) -> Result<Self>[src]Parse Self from the provided byte slice.
impl<'a, T> Decodable<'a> for Option<T> where
T: Decodable<'a> + Tagged, [src]This implementation is quite gotcha-y, since only one byte is peeked.
It should evaluate to the desired tag via Tag::try_from(byte)?.
impl Decodable<'_> for Length[src]impl Decodable<'_> for SimpleTag[src]impl Decodable<'_> for Tag[src]impl Decodable<'_> for [u8; 0][src]impl Decodable<'_> for [u8; 1][src]impl Decodable<'_> for [u8; 2][src]impl Decodable<'_> for [u8; 3][src]impl Decodable<'_> for [u8; 4][src]impl Decodable<'_> for [u8; 5][src]impl Decodable<'_> for [u8; 6][src]impl Decodable<'_> for [u8; 7][src]impl Decodable<'_> for [u8; 8][src]impl Decodable<'_> for [u8; 9][src]impl Decodable<'_> for [u8; 10][src]impl Decodable<'_> for [u8; 11][src]impl Decodable<'_> for [u8; 12][src]impl Decodable<'_> for [u8; 13][src]impl Decodable<'_> for [u8; 14][src]impl Decodable<'_> for [u8; 15][src]impl Decodable<'_> for [u8; 16][src]impl Decodable<'_> for [u8; 17][src]impl Decodable<'_> for [u8; 18][src]impl Decodable<'_> for [u8; 19][src]impl Decodable<'_> for [u8; 20][src]impl Decodable<'_> for [u8; 21][src]impl Decodable<'_> for [u8; 22][src]impl Decodable<'_> for [u8; 23][src]impl Decodable<'_> for [u8; 24][src]impl Decodable<'_> for [u8; 25][src]impl Decodable<'_> for [u8; 26][src]impl Decodable<'_> for [u8; 27][src]impl Decodable<'_> for [u8; 28][src]impl Decodable<'_> for [u8; 29][src]impl Decodable<'_> for [u8; 30][src]impl Decodable<'_> for [u8; 31][src]impl Decodable<'_> for [u8; 32][src]impl<'a, T> Decodable<'a> for TaggedSlice<'a, T> where
T: Decodable<'a> + TagLike, [src]impl<'a, X> Decodable<'a> for X where
X: TryFrom<TaggedSlice<'a>, Error = Error>, [src]