Struct rich_sdl2_rust::event::joystick::guid::InvalidLengthError
source · pub struct InvalidLengthError { /* private fields */ }
Expand description
An error to tell the failure on parsing Guid
from string, showing that it is invalid length to convert into.
Trait Implementations§
source§impl Clone for InvalidLengthError
impl Clone for InvalidLengthError
source§fn clone(&self) -> InvalidLengthError
fn clone(&self) -> InvalidLengthError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvalidLengthError
impl Debug for InvalidLengthError
source§impl Display for InvalidLengthError
impl Display for InvalidLengthError
source§impl Error for InvalidLengthError
impl Error for InvalidLengthError
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 PartialEq for InvalidLengthError
impl PartialEq for InvalidLengthError
source§fn eq(&self, other: &InvalidLengthError) -> bool
fn eq(&self, other: &InvalidLengthError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidLengthError
impl StructuralPartialEq for InvalidLengthError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidLengthError
impl Send for InvalidLengthError
impl Sync for InvalidLengthError
impl Unpin for InvalidLengthError
impl UnwindSafe for InvalidLengthError
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