Struct relm::Sender [−][src]
A wrapper over a std::sync::mpsc::Sender
to wakeup the glib event loop when sending a
message.
Implementations
impl<MSG> Sender<MSG>
[src]
pub fn send(&self, msg: MSG) -> Result<(), SendError<MSG>>
[src]
Send a message and wakeup the event loop.
Trait Implementations
impl<MSG> Clone for Sender<MSG>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<MSG> !RefUnwindSafe for Sender<MSG>
[src]
impl<MSG> Send for Sender<MSG> where
MSG: Send,
[src]
MSG: Send,
impl<MSG> !Sync for Sender<MSG>
[src]
impl<MSG> Unpin for Sender<MSG>
[src]
impl<MSG> !UnwindSafe for Sender<MSG>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,