pub enum ParseProjectIdError {
EmptyValue,
}
Expand description
Raised if a project ID cannot be parsed from a string.
Variants§
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)>
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<ParseProjectIdError> for ParseDsnError
impl From<ParseProjectIdError> for ParseDsnError
source§fn from(source: ParseProjectIdError) -> Self
fn from(source: ParseProjectIdError) -> Self
Converts to this type from the input type.
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§fn eq(&self, other: &ParseProjectIdError) -> bool
fn eq(&self, other: &ParseProjectIdError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ParseProjectIdError
impl PartialOrd for ParseProjectIdError
source§fn partial_cmp(&self, other: &ParseProjectIdError) -> Option<Ordering>
fn partial_cmp(&self, other: &ParseProjectIdError) -> 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 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