Enum flytrap::RegionError
source · pub enum RegionError {
Invalid,
Unrecognized,
}Available on crate feature
regions only.Expand description
An error parsing a Region or RegionCode.
Variants§
Trait Implementations§
source§impl Debug for RegionError
impl Debug for RegionError
source§impl Display for RegionError
impl Display for RegionError
source§impl Error for RegionError
impl Error for RegionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<RegionError> for Error
impl From<RegionError> for Error
source§fn from(_value: RegionError) -> Self
fn from(_value: RegionError) -> Self
Converts to this type from the input type.
source§impl Ord for RegionError
impl Ord for RegionError
source§fn cmp(&self, other: &RegionError) -> Ordering
fn cmp(&self, other: &RegionError) -> 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 for RegionError
impl PartialEq for RegionError
source§fn eq(&self, other: &RegionError) -> bool
fn eq(&self, other: &RegionError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RegionError
impl PartialOrd for RegionError
source§fn partial_cmp(&self, other: &RegionError) -> Option<Ordering>
fn partial_cmp(&self, other: &RegionError) -> 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 moreimpl Eq for RegionError
impl StructuralEq for RegionError
impl StructuralPartialEq for RegionError
Auto Trait Implementations§
impl RefUnwindSafe for RegionError
impl Send for RegionError
impl Sync for RegionError
impl Unpin for RegionError
impl UnwindSafe for RegionError
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