Struct libftd2xx_cc1101::io::FifoWriter [−][src]
pub struct FifoWriter<'f, 'c, Ft: FtdiCommon, const BUF_CAP: usize> { /* fields omitted */ }
Expand description
Buffered TX-FIFO writer for CC1101 that implements io::Write
trait.
Instances are created via CC1101::writer
.
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 write operations.
Implementations
Trait Implementations
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl<'f, 'c, Ft, const BUF_CAP: usize> RefUnwindSafe for FifoWriter<'f, 'c, Ft, BUF_CAP> where
Ft: RefUnwindSafe,
impl<'f, 'c, Ft, const BUF_CAP: usize> Send for FifoWriter<'f, 'c, Ft, BUF_CAP> where
Ft: Send,
impl<'f, 'c, Ft, const BUF_CAP: usize> Sync for FifoWriter<'f, 'c, Ft, BUF_CAP> where
Ft: Sync,
impl<'f, 'c, Ft, const BUF_CAP: usize> Unpin for FifoWriter<'f, 'c, Ft, BUF_CAP> where
'f: 'c,
impl<'f, 'c, Ft, const BUF_CAP: usize> !UnwindSafe for FifoWriter<'f, 'c, Ft, BUF_CAP>