Struct cbor_smol::ser::SliceWriter[][src]

pub struct SliceWriter<'a> { /* fields omitted */ }

Implementations

Wraps a mutable slice so it can be used as a Writer.

Returns the number of bytes written to the underlying slice.

Returns the underlying slice.

Trait Implementations

Formats the value using the given formatter. Read more

The type of error returned when a write operation fails.

Attempts to write an entire buffer into this write.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.