pub enum UpdateInfoError {
ParseFloatError(ParseFloatError),
ParseIntError(ParseIntError),
MissingData,
}Expand description
returned in the update info methods
Variants§
ParseFloatError(ParseFloatError)
from propogating ParseFloatError when parsing json struct fields into f32 fails
ParseIntError(ParseIntError)
from propogating ParseIntError when parsing json struct fields into usize fails
MissingData
Deserialized struct is missing a needed field, probably parameters
Trait Implementations§
Source§impl Debug for UpdateInfoError
impl Debug for UpdateInfoError
Source§impl Display for UpdateInfoError
impl Display for UpdateInfoError
Source§impl Error for UpdateInfoError
impl Error for UpdateInfoError
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 From<ParseFloatError> for UpdateInfoError
impl From<ParseFloatError> for UpdateInfoError
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for UpdateInfoError
impl From<ParseIntError> for UpdateInfoError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateInfoError> for Error
impl From<UpdateInfoError> for Error
Source§fn from(source: UpdateInfoError) -> Self
fn from(source: UpdateInfoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateInfoError
impl RefUnwindSafe for UpdateInfoError
impl Send for UpdateInfoError
impl Sync for UpdateInfoError
impl Unpin for UpdateInfoError
impl UnwindSafe for UpdateInfoError
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