pub enum GameEventError {
UnknownKey(String),
ConversionError(String, String),
}Variants§
Trait Implementations§
Source§impl Debug for GameEventError
impl Debug for GameEventError
Source§impl Display for GameEventError
impl Display for GameEventError
Source§impl Error for GameEventError
impl Error for GameEventError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<GameEventError> for ParserError
impl From<GameEventError> for ParserError
Source§fn from(source: GameEventError) -> Self
fn from(source: GameEventError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GameEventError
impl RefUnwindSafe for GameEventError
impl Send for GameEventError
impl Sync for GameEventError
impl Unpin for GameEventError
impl UnwindSafe for GameEventError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more