pub struct Transport { /* private fields */ }
Implementations§
Source§impl Transport
impl Transport
pub fn from_streamed<T>(io: T) -> Self
pub fn from_streamed_pair<R, W>(reader: R, writer: W) -> Self
pub fn from_framed<T>(io: T) -> Self
pub fn from_framed_pair<T, U>(stream: T, sink: U) -> Self
pub fn new_local() -> (Self, Self)
pub fn split( self, ) -> (GenericStream<Result<RpcFrame>>, GenericSink<RpcFrame, Error>)
Auto Trait Implementations§
impl Freeze for Transport
impl !RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl !UnwindSafe for Transport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more