Enum rosu_v2::error::ParsingError
source · pub enum ParsingError {
Genre(u8),
Grade(String),
Language(u8),
ModsU32(u32),
ModsStr(String),
RankStatus(i8),
ScoringType(u8),
Team(u8),
TeamType(u8),
}
Expand description
Failed some TryFrom parsing
Variants§
Genre(u8)
Failed to parse a u8 into a Genre
Grade(String)
Failed to parse a String into a Grade
Language(u8)
Failed to parse a u8 into a Language
ModsU32(u32)
Failed to parse a u32 into GameMods
ModsStr(String)
Failed to parse a String into GameMods
RankStatus(i8)
Failed to parse an i8 into a RankStatus
ScoringType(u8)
Failed to parse a u8 into a ScoringType
Team(u8)
Failed to parse a u8 into a Team
TeamType(u8)
Failed to parse a u8 into a TeamType
Trait Implementations§
source§impl Debug for ParsingError
impl Debug for ParsingError
source§impl Display for ParsingError
impl Display for ParsingError
source§impl Error for ParsingError
impl Error for ParsingError
1.30.0 · 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<ParsingError> for OsuError
impl From<ParsingError> for OsuError
source§fn from(e: ParsingError) -> Self
fn from(e: ParsingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParsingError
impl Send for ParsingError
impl Sync for ParsingError
impl Unpin for ParsingError
impl UnwindSafe for ParsingError
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