pub struct EventProxyClosed<T = u64>(/* private fields */);Expand description
Error returned by EventProxy::send_event when the event loop it targets has already
exited.
Implementations§
Source§impl<T> EventProxyClosed<T>
impl<T> EventProxyClosed<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
The payload that could not be delivered.
Trait Implementations§
Source§impl<T: Clone> Clone for EventProxyClosed<T>
impl<T: Clone> Clone for EventProxyClosed<T>
Source§fn clone(&self) -> EventProxyClosed<T>
fn clone(&self) -> EventProxyClosed<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for EventProxyClosed<T>
impl<T: Debug> Debug for EventProxyClosed<T>
Source§impl<T> Display for EventProxyClosed<T>
impl<T> Display for EventProxyClosed<T>
Source§impl<T: Debug> Error for EventProxyClosed<T>
impl<T: Debug> Error for EventProxyClosed<T>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<T: Hash> Hash for EventProxyClosed<T>
impl<T: Hash> Hash for EventProxyClosed<T>
Source§impl<T: PartialEq> PartialEq for EventProxyClosed<T>
impl<T: PartialEq> PartialEq for EventProxyClosed<T>
Source§fn eq(&self, other: &EventProxyClosed<T>) -> bool
fn eq(&self, other: &EventProxyClosed<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Copy> Copy for EventProxyClosed<T>
impl<T: Eq> Eq for EventProxyClosed<T>
impl<T> StructuralPartialEq for EventProxyClosed<T>
Auto Trait Implementations§
impl<T> Freeze for EventProxyClosed<T>where
T: Freeze,
impl<T> RefUnwindSafe for EventProxyClosed<T>where
T: RefUnwindSafe,
impl<T> Send for EventProxyClosed<T>where
T: Send,
impl<T> Sync for EventProxyClosed<T>where
T: Sync,
impl<T> Unpin for EventProxyClosed<T>where
T: Unpin,
impl<T> UnsafeUnpin for EventProxyClosed<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for EventProxyClosed<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> ToSmolStr for T
impl<T> ToSmolStr for T
fn to_smolstr(&self) -> SmolStr
§impl<C> WithAlpha for Cwhere
C: Copy,
impl<C> WithAlpha for Cwhere
C: Copy,
§fn with_alpha_first<A>(self, alpha: A) -> AlphaFirst<A, Self>
fn with_alpha_first<A>(self, alpha: A) -> AlphaFirst<A, Self>
Wraps
self with alpha, storing alpha before the color in memory
(see [AlphaFirst]).§fn with_alpha_last<A>(self, alpha: A) -> AlphaLast<A, Self>
fn with_alpha_last<A>(self, alpha: A) -> AlphaLast<A, Self>
Wraps
self with alpha, storing alpha after the color in memory
(see [AlphaLast]).