Enum osu_file_parser::osu_file::osb::error::ParseVariableError
source · [−]#[non_exhaustive]
pub enum ParseVariableError {
MissingHeader,
MissingEquals,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingHeader
MissingEquals
Trait Implementations
sourceimpl Debug for ParseVariableError
impl Debug for ParseVariableError
sourceimpl Display for ParseVariableError
impl Display for ParseVariableError
sourceimpl Error for ParseVariableError
impl Error for ParseVariableError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<'_derivative_strum> From<&'_derivative_strum ParseVariableError> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ParseVariableError> for &'static str
sourcefn from(x: &'_derivative_strum ParseVariableError) -> &'static str
fn from(x: &'_derivative_strum ParseVariableError) -> &'static str
Converts to this type from the input type.
sourceimpl From<Err<VerboseError<&str>>> for ParseVariableError
impl From<Err<VerboseError<&str>>> for ParseVariableError
sourcefn from(err: Err<VerboseError<&str>>) -> Self
fn from(err: Err<VerboseError<&str>>) -> Self
Converts to this type from the input type.
sourceimpl From<ParseVariableError> for &'static str
impl From<ParseVariableError> for &'static str
sourcefn from(x: ParseVariableError) -> &'static str
fn from(x: ParseVariableError) -> &'static str
Converts to this type from the input type.
sourceimpl From<ParseVariableError> for ParseError
impl From<ParseVariableError> for ParseError
sourcefn from(source: ParseVariableError) -> Self
fn from(source: ParseVariableError) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ParseVariableError
impl FromStr for ParseVariableError
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for ParseVariableError
impl TryFrom<&str> for ParseVariableError
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for ParseVariableError
impl Send for ParseVariableError
impl Sync for ParseVariableError
impl Unpin for ParseVariableError
impl UnwindSafe for ParseVariableError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more