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