[][src]Struct tirse::BinarySerializer

pub struct BinarySerializer<W, E, H, D> where
    W: Write,
    E: ByteOrder,
    H: BinarySerializerDelegate,
    D: DisplayCollector
{ /* fields omitted */ }

Methods

impl<W, E, H, D> BinarySerializer<W, E, H, D> where
    W: Write,
    E: ByteOrder,
    H: BinarySerializerDelegate,
    D: DisplayCollector
[src]

Trait Implementations

impl<W, E, H, D> Serializer for BinarySerializer<W, E, H, D> where
    W: Write,
    E: ByteOrder,
    H: BinarySerializerDelegate,
    D: Serialize + DisplayCollector + Display + Debug
[src]

The output type produced by this Serializer during successful serialization. Most serializers that produce text or binary output should set Ok = () and serialize into an [io::Write] or buffer contained within the Serializer instance. Serializers that build in-memory data structures may be simplified by using Ok to propagate the data structure around. Read more

The error type when some error occurs during serialization.

Type returned from [serialize_seq] for serializing the content of the sequence. Read more

Type returned from [serialize_tuple] for serializing the content of the tuple. Read more

Type returned from [serialize_tuple_struct] for serializing the content of the tuple struct. Read more

Type returned from [serialize_tuple_variant] for serializing the content of the tuple variant. Read more

Type returned from [serialize_map] for serializing the content of the map. Read more

Type returned from [serialize_struct] for serializing the content of the struct. Read more

Type returned from [serialize_struct_variant] for serializing the content of the struct variant. Read more

Serialize an i128 value. Read more

Serialize a u128 value. Read more

Collect an iterator as a sequence. Read more

Collect an iterator as a map. Read more

Auto Trait Implementations

impl<W, E, H, D> Send for BinarySerializer<W, E, H, D> where
    D: Send,
    E: Send,
    H: Send,
    W: Send

impl<W, E, H, D> Sync for BinarySerializer<W, E, H, D> where
    D: Sync,
    E: Sync,
    H: Sync,
    W: Sync

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]