pub struct OutboundHandle { /* private fields */ }Implementations§
Source§impl OutboundHandle
impl OutboundHandle
pub fn new(tx: Sender<DataLinkPacket>) -> Self
pub async fn send(&self, packet: DataLinkPacket) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for OutboundHandle
impl Clone for OutboundHandle
Source§fn clone(&self) -> OutboundHandle
fn clone(&self) -> OutboundHandle
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 moreAuto Trait Implementations§
impl Freeze for OutboundHandle
impl RefUnwindSafe for OutboundHandle
impl Send for OutboundHandle
impl Sync for OutboundHandle
impl Unpin for OutboundHandle
impl UnsafeUnpin for OutboundHandle
impl UnwindSafe for OutboundHandle
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