[−][src]Trait flexiber::Container
[−][src]Trait flexiber::Container
Multiple encodables in a container.
A container implementing Tagged has a blanked implementation of Encodable.
Required methods
fn fields<F, T>(&self, f: F) -> Result<T> where
F: FnOnce(&[&dyn Encodable]) -> Result<T>, [src]
F: FnOnce(&[&dyn Encodable]) -> Result<T>,
Call the provided function with a slice of Encodable trait objects
+
Required methods
fn fields<F, T>(&self, f: F) -> Result<T> where
F: FnOnce(&[&dyn Encodable]) -> Result<T>, [src]
F: FnOnce(&[&dyn Encodable]) -> Result<T>,
Call the provided function with a slice of Encodable trait objects
representing the fields of this message.
This method uses a callback because structs with fields which aren't
directly Encodable may need to construct temporary values from
diff --git a/flexiber/trait.Decodable.html b/flexiber/trait.Decodable.html
index 51f7524..fec6585 100644
--- a/flexiber/trait.Decodable.html
+++ b/flexiber/trait.Decodable.html
@@ -10,4 +10,4 @@
One way to implement this trait is to implement TryFrom<TaggedSlice<'_>, Error = Error>.
Required methods
fn decode(decoder: &mut Decoder<'a>) -> Result<Self>[src]
Attempt to decode this message using the provided decoder.
Provided methods
fn from_bytes(bytes: &'a [u8]) -> Result<Self>[src]
Parse Self from the provided byte slice.
Implementors
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]
T: Decodable<'a> + TagLike,
impl<'a, X> Decodable<'a> for X where
X: TryFrom<TaggedSlice<'a>, Error = Error>, [src]
X: TryFrom<TaggedSlice<'a>, Error = Error>,
Implementors
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]
T: Decodable<'a> + TagLike,
impl<'a, X> Decodable<'a> for X where
X: TryFrom<TaggedSlice<'a>, Error = Error>, [src]
X: TryFrom<TaggedSlice<'a>, Error = Error>,