Module util

Source
Expand description

utility stuff

Structs§

ArrayBuf
Byte buffer backed by an array.
EhReaderembedded_hal
Wraps types that implement embedded_hal::serial::Read<...> and implements ByteSource
Eof
Error type indicating that the end of the input has been reached
IoReaderstd
Wraps types that implement std::io::Read and implements ByteSource
IterReader
Wraps byte iterators and implements ByteSource
OutOfMemory
Error type indicating that an operation failed due to lack of memory.
SliceReader
Wraps byte slices and implements ByteSource

Traits§

Buffer
Interface for byte vectors.
ByteSource
Helper trait that allows reading individual bytes
ByteSourceErr
Helper trait implemented for Error types of ByteSource

Type Aliases§

VecBufalloc
Type alias for alloc::Vec<u8>