Struct libftd2xx_cc1101::io::FifoReader [−][src]
pub struct FifoReader<'f, 'c, Ft: FtdiCommon, const BUF_CAP: usize> { /* fields omitted */ }
Expand description
Buffered RX-FIFO reader for CC1101 that implements io::Read
trait.
Instances are created via CC1101::reader
.
Maintains a circular buffer of user-configurable size via the BUF_CAP
parameter.
The buffer size should be adjusted for the application to balance between low access latency
and low frequency of underlying read operations.
Trait Implementations
Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Like read
, except that it reads into a slice of buffers. Read more
can_vector
)Determines if this Read
er has an efficient read_vectored
implementation. Read more
read_initializer
)Determines if this Read
er can work with buffers of uninitialized
memory. Read more
Read all bytes until EOF in this source, placing them into buf
. Read more
Read all bytes until EOF in this source, appending them to buf
. Read more
Read the exact number of bytes required to fill buf
. Read more
Creates a “by reference” adaptor for this instance of Read
. Read more
Creates an adaptor which will chain this stream with another. Read more
Auto Trait Implementations
impl<'f, 'c, Ft, const BUF_CAP: usize> RefUnwindSafe for FifoReader<'f, 'c, Ft, BUF_CAP> where
Ft: RefUnwindSafe,
impl<'f, 'c, Ft, const BUF_CAP: usize> Send for FifoReader<'f, 'c, Ft, BUF_CAP> where
Ft: Send,
impl<'f, 'c, Ft, const BUF_CAP: usize> Sync for FifoReader<'f, 'c, Ft, BUF_CAP> where
Ft: Sync,
impl<'f, 'c, Ft, const BUF_CAP: usize> Unpin for FifoReader<'f, 'c, Ft, BUF_CAP> where
'f: 'c,
impl<'f, 'c, Ft, const BUF_CAP: usize> !UnwindSafe for FifoReader<'f, 'c, Ft, BUF_CAP>