[][src]Trait varlink::Stream

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>)>

fn shutdown(&mut self) -> Result<()>

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

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

Loading content...

Implementations on Foreign Types

impl Stream for TcpStream[src]

impl Stream for UnixStream[src]

Loading content...

Implementors

Loading content...