Struct rin::events::Sender [−][src]
pub struct Sender<'a, T> { /* fields omitted */ }
Events Sender
Sending part of a Sender/Stream pair. Keeps track of the children streams and notifies them of any new event if they are still alive.
Implementations
impl<'a, T> Sender<'a, T>
[src]
impl<'a, T> Sender<'a, T>
[src]pub fn new() -> Sender<'a, T>
[src]
pub fn push(&mut self, st: Rc<UnsafeCell<dyn SinkInner<'a, T> + 'a>>)
[src]
pub fn remove_raw(&mut self, st: *const c_void)
[src]
pub fn num_receivers(&self) -> usize
[src]
impl<'a, T> Sender<'a, T>
[src]
impl<'a, T> Sender<'a, T>
[src]pub fn send(&self, t: T)
[src]
pub fn send_all<I>(&self, it: I) where
I: IntoIterator<Item = T>,
[src]
I: IntoIterator<Item = T>,
Trait Implementations
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Sender<'a, T>
impl<'a, T> !Send for Sender<'a, T>
impl<'a, T> !Sync for Sender<'a, T>
impl<'a, T> Unpin for Sender<'a, T>
impl<'a, T> !UnwindSafe for Sender<'a, T>
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]