Struct async_unsync::unbounded::UnboundedSenderRef
source · pub struct UnboundedSenderRef<'a, T> { /* private fields */ }Expand description
A borrowing handle for sending elements through an unbounded split
UnboundedChannel.
Implementations§
source§impl<T> UnboundedSenderRef<'_, T>
impl<T> UnboundedSenderRef<'_, 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 UnboundedSenderRef<'_, T>
impl<T> Clone for UnboundedSenderRef<'_, T>
source§impl<T> Debug for UnboundedSenderRef<'_, T>
impl<T> Debug for UnboundedSenderRef<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for UnboundedSenderRef<'a, T>
impl<'a, T> !Send for UnboundedSenderRef<'a, T>
impl<'a, T> !Sync for UnboundedSenderRef<'a, T>
impl<'a, T> Unpin for UnboundedSenderRef<'a, T>
impl<'a, T> !UnwindSafe for UnboundedSenderRef<'a, 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