pub struct MemoryLink { /* private fields */ }Implementations§
Source§impl MemoryLink
impl MemoryLink
pub fn new(mtu: usize) -> Self
pub fn set_online(&mut self, online: bool)
pub fn push_inbound(&mut self, frame: Vec<u8>)
pub fn drain_outbound(&mut self) -> Vec<Vec<u8>>
Trait Implementations§
Source§impl Clone for MemoryLink
impl Clone for MemoryLink
Source§fn clone(&self) -> MemoryLink
fn clone(&self) -> MemoryLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryLink
impl Debug for MemoryLink
Source§impl Default for MemoryLink
impl Default for MemoryLink
Auto Trait Implementations§
impl Freeze for MemoryLink
impl RefUnwindSafe for MemoryLink
impl Send for MemoryLink
impl Sync for MemoryLink
impl Unpin for MemoryLink
impl UnsafeUnpin for MemoryLink
impl UnwindSafe for MemoryLink
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