pub struct MemMod { /* private fields */ }
Expand description
Represents a single netmod endpoint that can connect to exactly one other, either as a 1-to-1 link between libqaul instances or as a link into a transmission medium of some kind.
Implementations§
Trait Implementations§
Source§impl Endpoint for MemMod
impl Endpoint for MemMod
Source§fn send<'life0, 'async_trait>(
&'life0 self,
frame: Frame,
__arg2: Target,
) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>(
&'life0 self,
frame: Frame,
__arg2: Target,
) -> Pin<Box<dyn Future<Output = NetResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a message to a specific endpoint (client)
§Errors
Returns OperationNotSupported
if attempting to send through
a connection that is not yet connected.
Auto Trait Implementations§
impl Freeze for MemMod
impl !RefUnwindSafe for MemMod
impl Send for MemMod
impl Sync for MemMod
impl Unpin for MemMod
impl !UnwindSafe for MemMod
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