Enum rosu_pp::model::beatmap::ParseBeatmapError
source · pub enum ParseBeatmapError {
Show 13 variants
EffectFlags(ParseEffectFlagsError),
EventType(ParseEventTypeError),
HitObjectType(ParseHitObjectTypeError),
HitSoundType(ParseHitSoundTypeError),
InvalidEventLine,
InvalidRepeatCount,
InvalidTimingPointLine,
InvalidHitObjectLine,
Mode(ParseGameModeError),
Number(ParseNumberError),
TimeSignature,
TimingControlPointNaN,
UnknownHitObjectType,
}
Expand description
All the ways that parsing a Beatmap
can fail.
Variants§
EffectFlags(ParseEffectFlagsError)
EventType(ParseEventTypeError)
HitObjectType(ParseHitObjectTypeError)
HitSoundType(ParseHitSoundTypeError)
InvalidEventLine
InvalidRepeatCount
InvalidTimingPointLine
InvalidHitObjectLine
Mode(ParseGameModeError)
Number(ParseNumberError)
TimeSignature
TimingControlPointNaN
UnknownHitObjectType
Trait Implementations§
source§impl Debug for ParseBeatmapError
impl Debug for ParseBeatmapError
source§impl Display for ParseBeatmapError
impl Display for ParseBeatmapError
source§impl Error for ParseBeatmapError
impl Error for ParseBeatmapError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ParseDifficultyError> for ParseBeatmapError
impl From<ParseDifficultyError> for ParseBeatmapError
source§fn from(err: ParseDifficultyError) -> Self
fn from(err: ParseDifficultyError) -> Self
Converts to this type from the input type.
source§impl From<ParseEffectFlagsError> for ParseBeatmapError
impl From<ParseEffectFlagsError> for ParseBeatmapError
source§fn from(err: ParseEffectFlagsError) -> Self
fn from(err: ParseEffectFlagsError) -> Self
Converts to this type from the input type.
source§impl From<ParseEventTypeError> for ParseBeatmapError
impl From<ParseEventTypeError> for ParseBeatmapError
source§fn from(err: ParseEventTypeError) -> Self
fn from(err: ParseEventTypeError) -> Self
Converts to this type from the input type.
source§impl From<ParseGameModeError> for ParseBeatmapError
impl From<ParseGameModeError> for ParseBeatmapError
source§fn from(err: ParseGameModeError) -> Self
fn from(err: ParseGameModeError) -> Self
Converts to this type from the input type.
source§impl From<ParseHitObjectTypeError> for ParseBeatmapError
impl From<ParseHitObjectTypeError> for ParseBeatmapError
source§fn from(err: ParseHitObjectTypeError) -> Self
fn from(err: ParseHitObjectTypeError) -> Self
Converts to this type from the input type.
source§impl From<ParseHitSoundTypeError> for ParseBeatmapError
impl From<ParseHitSoundTypeError> for ParseBeatmapError
source§fn from(err: ParseHitSoundTypeError) -> Self
fn from(err: ParseHitSoundTypeError) -> Self
Converts to this type from the input type.
source§impl From<ParseNumberError> for ParseBeatmapError
impl From<ParseNumberError> for ParseBeatmapError
source§fn from(err: ParseNumberError) -> Self
fn from(err: ParseNumberError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseBeatmapError
impl RefUnwindSafe for ParseBeatmapError
impl Send for ParseBeatmapError
impl Sync for ParseBeatmapError
impl Unpin for ParseBeatmapError
impl UnwindSafe for ParseBeatmapError
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