pub struct MemoryTransport { /* private fields */ }Implementations§
Source§impl MemoryTransport
impl MemoryTransport
pub fn new(format: BinaryFormat) -> Self
pub fn create_pair(format: BinaryFormat) -> (Self, Self)
pub fn connect_to(&mut self, other: &mut Self)
pub fn get_send_buffer(&self) -> &[Bytes]
pub fn get_receive_buffer(&self) -> &[Bytes]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryTransport
impl RefUnwindSafe for MemoryTransport
impl Send for MemoryTransport
impl Sync for MemoryTransport
impl Unpin for MemoryTransport
impl UnwindSafe for MemoryTransport
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