Trait varlink::Stream[][src]

pub trait Stream: Read + Write + Send + Sync + AsRawFd {
    fn split(
        &mut self
    ) -> Result<(Box<dyn Read + Send + Sync>, Box<dyn Write + Send + Sync>)>;
fn shutdown(&mut self) -> Result<()>;
fn try_clone(&mut self) -> Result<Box<dyn Stream>>;
fn set_nonblocking(&mut self, b: bool) -> Result<()>; }

Required methods

fn split(
    &mut self
) -> Result<(Box<dyn Read + Send + Sync>, Box<dyn Write + Send + Sync>)>
[src]

fn shutdown(&mut self) -> Result<()>[src]

fn try_clone(&mut self) -> Result<Box<dyn Stream>>[src]

fn set_nonblocking(&mut self, b: bool) -> Result<()>[src]

Loading content...

Implementations on Foreign Types

impl Stream for TcpStream[src]

impl Stream for UnixStream[src]

Loading content...

Implementors

Loading content...