Enum base::event::EventReadResult
source · [−]pub enum EventReadResult {
Count(u64),
Timeout,
}
Expand description
Result of reading an Event with a timeout.
Variants
Count(u64)
Number of times the event has been written to. Always non-negative.
Timeout
Timed out before witnessing a write.
Trait Implementations
sourceimpl Debug for EventReadResult
impl Debug for EventReadResult
sourceimpl PartialEq<EventReadResult> for EventReadResult
impl PartialEq<EventReadResult> for EventReadResult
sourcefn eq(&self, other: &EventReadResult) -> bool
fn eq(&self, other: &EventReadResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EventReadResult) -> bool
fn ne(&self, other: &EventReadResult) -> bool
This method tests for !=
.
impl Eq for EventReadResult
impl StructuralEq for EventReadResult
impl StructuralPartialEq for EventReadResult
Auto Trait Implementations
impl RefUnwindSafe for EventReadResult
impl Send for EventReadResult
impl Sync for EventReadResult
impl Unpin for EventReadResult
impl UnwindSafe for EventReadResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more