pub trait Writer { fn write(&mut self, buf: &[u8]); fn flush(&mut self); }
fn write(&mut self, buf: &[u8])
Write the given buffer
Raises the io_error
condition on error
fn flush(&mut self)
Flush output
MockWriter
CFile
FileDesc
BufferedStream<S>
BufferedWriter<W>
ChanWriter<C>
DeflateWriter<W>
Option<W>
StdWriter
BufWriter<'self>
MemWriter
UnixStream
UdpStream
TcpStream
PipeStream
FileStream
FileWriter
SipState
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).