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