pub enum Buffer<'a> { Vector(&'a mut Vec<u8>), Slice(&'a mut [u8]), Bytes(&'a mut BytesMut), }
Buffer that can be used to write data into.
Vector(&'a mut Vec<u8>)
Slice(&'a mut [u8])
Bytes(&'a mut BytesMut)
Formats the value using the given formatter. Read more
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Performs the conversion.
The type returned in the event of a conversion error.