pub enum EventError {
ClEventCannotBeNull,
EventAlreadyConsumed(String),
}
Expand description
An error related to an Event or WaitList.
Variants§
Trait Implementations§
Source§impl Clone for EventError
impl Clone for EventError
Source§fn clone(&self) -> EventError
fn clone(&self) -> EventError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventError
impl Debug for EventError
Source§impl Display for EventError
impl Display for EventError
Source§impl Fail for EventError
impl Fail for EventError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl PartialEq for EventError
impl PartialEq for EventError
impl Eq for EventError
impl StructuralPartialEq for EventError
Auto Trait Implementations§
impl Freeze for EventError
impl RefUnwindSafe for EventError
impl Send for EventError
impl Sync for EventError
impl Unpin for EventError
impl UnwindSafe for EventError
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