Struct async_unsync::unbounded::UnboundedSender
source · pub struct UnboundedSender<T> { /* private fields */ }Expand description
An owned handle for sending elements through an unbounded split
UnboundedChannel.
Implementations§
source§impl<T> UnboundedSender<T>
impl<T> UnboundedSender<T>
sourcepub fn same_channel(&self, other: &Self) -> bool
pub fn same_channel(&self, other: &Self) -> bool
Returns true if self and other are handles for the same channel
instance.
Trait Implementations§
source§impl<T> Clone for UnboundedSender<T>
impl<T> Clone for UnboundedSender<T>
source§impl<T> Debug for UnboundedSender<T>
impl<T> Debug for UnboundedSender<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for UnboundedSender<T>
impl<T> !Send for UnboundedSender<T>
impl<T> !Sync for UnboundedSender<T>
impl<T> Unpin for UnboundedSender<T>
impl<T> !UnwindSafe for UnboundedSender<T>
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