Enum apollo_smith::FromError
source · pub enum FromError {
MissingNode,
ParseIntError(ParseIntError),
ParseFloatError(ParseFloatError),
ParseBoolError(ParseBoolError),
}Variants§
MissingNode
ParseIntError(ParseIntError)
ParseFloatError(ParseFloatError)
ParseBoolError(ParseBoolError)
Trait Implementations§
source§impl Error for FromError
impl Error for FromError
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<ParseBoolError> for FromError
impl From<ParseBoolError> for FromError
source§fn from(source: ParseBoolError) -> Self
fn from(source: ParseBoolError) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for FromError
impl From<ParseFloatError> for FromError
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for FromError
impl From<ParseIntError> for FromError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FromError
impl Send for FromError
impl Sync for FromError
impl Unpin for FromError
impl UnwindSafe for FromError
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