Enum mprober::ScannerError [−]
pub enum ScannerError { IOError(Error), ParseIntError(ParseIntError), ParseFloatError(ParseFloatError), }
Expand description
The possible errors of Scanner
, ScannerAscii
, ScannerStr
, ScannerU8Slice
, ScannerU8SliceAscii
structs.
Variants
IOError(Error)
ParseIntError(ParseIntError)
ParseFloatError(ParseFloatError)
Trait Implementations
impl Debug for ScannerError
impl Debug for ScannerError
impl Display for ScannerError
impl Display for ScannerError
impl Error for ScannerError
impl Error for ScannerError
impl From<Error> for ScannerError
impl From<Error> for ScannerError
pub fn from(err: Error) -> ScannerError
pub fn from(err: Error) -> ScannerError
Performs the conversion.
impl From<ErrorKind> for ScannerError
impl From<ErrorKind> for ScannerError
pub fn from(kind: ErrorKind) -> ScannerError
pub fn from(kind: ErrorKind) -> ScannerError
Performs the conversion.
impl From<ParseFloatError> for ScannerError
impl From<ParseFloatError> for ScannerError
pub fn from(err: ParseFloatError) -> ScannerError
pub fn from(err: ParseFloatError) -> ScannerError
Performs the conversion.
impl From<ParseIntError> for ScannerError
impl From<ParseIntError> for ScannerError
pub fn from(err: ParseIntError) -> ScannerError
pub fn from(err: ParseIntError) -> ScannerError
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ScannerError
impl Send for ScannerError
impl Sync for ScannerError
impl Unpin for ScannerError
impl !UnwindSafe for ScannerError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.