pub enum ParseError {
Int(ParseIntError),
Bool(ParseBoolError),
Float(ParseFloatError),
Str(ParseError),
}Expand description
Error parsing data type from string.
Variants§
Int(ParseIntError)
Integer
Bool(ParseBoolError)
Boolean
Float(ParseFloatError)
Floating-point
Str(ParseError)
String
Trait Implementations§
Source§impl Debug for ParseError
impl Debug for ParseError
Source§impl Display for ParseError
impl Display for ParseError
Source§impl Error for ParseError
impl Error for ParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<Infallible> for ParseError
impl From<Infallible> for ParseError
Source§fn from(err: ParseError) -> ParseError
fn from(err: ParseError) -> ParseError
Converts to this type from the input type.
Source§impl From<ParseBoolError> for ParseError
impl From<ParseBoolError> for ParseError
Source§fn from(err: ParseBoolError) -> ParseError
fn from(err: ParseBoolError) -> ParseError
Converts to this type from the input type.
Source§impl From<ParseError> for AgnesError
impl From<ParseError> for AgnesError
Source§fn from(err: ParseError) -> AgnesError
fn from(err: ParseError) -> AgnesError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ParseError
impl From<ParseFloatError> for ParseError
Source§fn from(err: ParseFloatError) -> ParseError
fn from(err: ParseFloatError) -> ParseError
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseError
impl From<ParseIntError> for ParseError
Source§fn from(err: ParseIntError) -> ParseError
fn from(err: ParseIntError) -> ParseError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations§
Source§impl<Frames> AssocDataIndexCons<Nil> for Frames
impl<Frames> AssocDataIndexCons<Nil> for Frames
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoLabeled for T
impl<T> IntoLabeled for T
Source§impl<Frames, Store> JoinIntoStore<Nil, Store> for Frames
impl<Frames, Store> JoinIntoStore<Nil, Store> for Frames
Source§fn join_into_store(
&self,
store: Store,
_permutation: &[usize],
) -> Result<Store, AgnesError>
fn join_into_store( &self, store: Store, _permutation: &[usize], ) -> Result<Store, AgnesError>
Augments
store with data from self (as specified with Labels), using the provided
permutation indices.