pub enum ParseProjectIdError {
InvalidValue,
EmptyValue,
}
Expand description
Raised if a project ID cannot be parsed from a string.
Variants§
InvalidValue
Raised if the value is not an integer in the supported range.
EmptyValue
Raised if an empty value is parsed.
Trait Implementations§
source§impl Debug for ParseProjectIdError
impl Debug for ParseProjectIdError
source§impl Display for ParseProjectIdError
impl Display for ParseProjectIdError
source§impl Error for ParseProjectIdError
impl Error for ParseProjectIdError
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 Ord for ParseProjectIdError
impl Ord for ParseProjectIdError
source§fn cmp(&self, other: &ParseProjectIdError) -> Ordering
fn cmp(&self, other: &ParseProjectIdError) -> 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 ParseProjectIdError
impl PartialEq for ParseProjectIdError
source§impl PartialOrd for ParseProjectIdError
impl PartialOrd for ParseProjectIdError
impl Eq for ParseProjectIdError
impl StructuralPartialEq for ParseProjectIdError
Auto Trait Implementations§
impl Freeze for ParseProjectIdError
impl RefUnwindSafe for ParseProjectIdError
impl Send for ParseProjectIdError
impl Sync for ParseProjectIdError
impl Unpin for ParseProjectIdError
impl UnwindSafe for ParseProjectIdError
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