Struct message_io::events::EventSender [−][src]
pub struct EventSender<E> { /* fields omitted */ }Expand description
Struct used to send events into a EventReceiver.
This type can only be generated by the receiver EventReceiver.
Implementations
Send instantly an event that would be process before any other event sent
by the EventSender::send() method.
Successive calls to send_with_priority will maintain the order of arrival.
Send a timed event to the EventReceiver.
The event only will be sent after the specific duration, never before.
If the EventSender is dropped, the event will be generated as well.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for EventSender<E>
impl<E> Send for EventSender<E> where
E: Send,
impl<E> Sync for EventSender<E> where
E: Send,
impl<E> Unpin for EventSender<E>
impl<E> UnwindSafe for EventSender<E>
Blanket Implementations
Mutably borrows from an owned value. Read more