pub enum ParseDifficultyError {
Number(ParseNumberError),
}Expand description
All the ways that parsing a .osu file into Difficulty can fail.
Variants§
Number(ParseNumberError)
Trait Implementations§
Source§impl Debug for ParseDifficultyError
impl Debug for ParseDifficultyError
Source§impl Display for ParseDifficultyError
impl Display for ParseDifficultyError
Source§impl Error for ParseDifficultyError
impl Error for ParseDifficultyError
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<ParseNumberError> for ParseDifficultyError
impl From<ParseNumberError> for ParseDifficultyError
Source§fn from(x: ParseNumberError) -> ParseDifficultyError
fn from(x: ParseNumberError) -> ParseDifficultyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseDifficultyError
impl RefUnwindSafe for ParseDifficultyError
impl Send for ParseDifficultyError
impl Sync for ParseDifficultyError
impl Unpin for ParseDifficultyError
impl UnwindSafe for ParseDifficultyError
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