Enum r3_core::kernel::PollEventGroupError
source · #[repr(i8)]
pub enum PollEventGroupError {
NoAccess,
BadContext,
Timeout,
}
Expand description
Error type for EventGroup::poll
.
See ResultCode
for all result codes and generic descriptions.
Variants§
Trait Implementations§
source§impl Clone for PollEventGroupError
impl Clone for PollEventGroupError
source§fn clone(&self) -> PollEventGroupError
fn clone(&self) -> PollEventGroupError
Returns a copy 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 PollEventGroupError
impl Debug for PollEventGroupError
source§impl From<PollEventGroupError> for ResultCode
impl From<PollEventGroupError> for ResultCode
source§fn from(x: PollEventGroupError) -> Self
fn from(x: PollEventGroupError) -> Self
Converts to this type from the input type.
source§impl Hash for PollEventGroupError
impl Hash for PollEventGroupError
source§impl Ord for PollEventGroupError
impl Ord for PollEventGroupError
source§fn cmp(&self, other: &PollEventGroupError) -> Ordering
fn cmp(&self, other: &PollEventGroupError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PollEventGroupError> for PollEventGroupError
impl PartialEq<PollEventGroupError> for PollEventGroupError
source§fn eq(&self, other: &PollEventGroupError) -> bool
fn eq(&self, other: &PollEventGroupError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PollEventGroupError> for PollEventGroupError
impl PartialOrd<PollEventGroupError> for PollEventGroupError
source§fn partial_cmp(&self, other: &PollEventGroupError) -> Option<Ordering>
fn partial_cmp(&self, other: &PollEventGroupError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more