Struct fifo::Sender
[−]
[src]
pub struct Sender { /* fields omitted */ }
The fifo sender. It's Send
but !Sync
.
Methods
impl Sender
[src]
fn set_would_block(&mut self, would_block: WouldBlock)
Trait Implementations
impl SpliceRead for Sender
[src]
fn splice_from<T>(&mut self, r: &mut T, bytes: usize) -> Result<usize> where
T: Read,
T: Read,
Copy at most bytes bytes from a Read
r.
fn splice_all_from<T>(&mut self, r: &mut T) -> Result<()> where
T: Read,
T: Read,
Copy all bytes from a Read
r.
impl AsRef<Inner> for Sender
[src]
fn as_ref(&self) -> &Inner
Performs the conversion.
impl Drop for Sender
[src]
impl Send for Sender
[src]
impl !Sync for Sender
[src]
impl Write for Sender
[src]
fn write(&mut self, bytes: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0
Writes a formatted string into this writer, returning any error encountered. Read more
fn by_ref(&mut self) -> &mut Self
1.0.0
Creates a "by reference" adaptor for this instance of Write
. Read more