struct UnboundedSenderInner<T> {
    inner: Arc<UnboundedInner<T>>,
}Fields§
§inner: Arc<UnboundedInner<T>>Implementations§
Source§impl<T> UnboundedSenderInner<T>
 
impl<T> UnboundedSenderInner<T>
fn poll_ready_nb(&self) -> Poll<Result<(), SendError>>
fn queue_push_and_signal(&self, msg: T)
fn inc_num_messages(&self) -> Option<usize>
Sourcefn same_receiver(&self, other: &Self) -> bool
 
fn same_receiver(&self, other: &Self) -> bool
Returns whether the senders send to the same receiver.
Sourcefn is_connected_to(&self, inner: &Arc<UnboundedInner<T>>) -> bool
 
fn is_connected_to(&self, inner: &Arc<UnboundedInner<T>>) -> bool
Returns whether the sender send to this receiver.
Sourcefn ptr(&self) -> *const UnboundedInner<T>
 
fn ptr(&self) -> *const UnboundedInner<T>
Returns pointer to the Arc containing sender
The returned pointer is not referenced and should be only used for hashing!
Sourcefn close_channel(&self)
 
fn close_channel(&self)
Closes this channel from the sender side, preventing any new messages.
Trait Implementations§
Source§impl<T> Clone for UnboundedSenderInner<T>
 
impl<T> Clone for UnboundedSenderInner<T>
Source§impl<T> Drop for UnboundedSenderInner<T>
 
impl<T> Drop for UnboundedSenderInner<T>
impl<T> Unpin for UnboundedSenderInner<T>
Auto Trait Implementations§
impl<T> Freeze for UnboundedSenderInner<T>
impl<T> !RefUnwindSafe for UnboundedSenderInner<T>
impl<T> Send for UnboundedSenderInner<T>where
    T: Send,
impl<T> Sync for UnboundedSenderInner<T>where
    T: Send,
impl<T> !UnwindSafe for UnboundedSenderInner<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