Trait simple_stream::Blocking
[−]
[src]
pub trait Blocking {
fn b_recv(&mut self) -> Result<Box<Frame>, Error>;
fn b_send(&mut self, frame: &Frame) -> Result<(), Error>;
}
Required Methods
fn b_recv(&mut self) -> Result<Box<Frame>, Error>
fn b_send(&mut self, frame: &Frame) -> Result<(), Error>
Implementors
impl<S, FB> Blocking for Plain<S, FB> where S: Read + Write, FB: FrameBuilderimpl<S, FB> Blocking for Secure<S, FB> where S: Read + Write, FB: FrameBuilder