pub struct TypedSocketSender<A> { /* private fields */ }
Implementations§
Source§impl<A: Debug> TypedSocketSender<A>
impl<A: Debug> TypedSocketSender<A>
pub fn send(&self, message: A) -> Result<(), TypedSocketError>
pub fn close(&mut self) -> Result<(), TypedSocketError>
Trait Implementations§
Source§impl<A: Clone> Clone for TypedSocketSender<A>
impl<A: Clone> Clone for TypedSocketSender<A>
Source§fn clone(&self) -> TypedSocketSender<A>
fn clone(&self) -> TypedSocketSender<A>
Returns a duplicate of the value. Read more
1.0.0 · 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<A> Freeze for TypedSocketSender<A>
impl<A> !RefUnwindSafe for TypedSocketSender<A>
impl<A> Send for TypedSocketSender<A>
impl<A> Sync for TypedSocketSender<A>
impl<A> Unpin for TypedSocketSender<A>
impl<A> !UnwindSafe for TypedSocketSender<A>
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