pub struct EngineNameError {
pub name: String,
pub reason: &'static str,
}Expand description
Why a name cannot be the engine’s.
Fields§
§name: String§reason: &'static strTrait Implementations§
Source§impl Clone for EngineNameError
impl Clone for EngineNameError
Source§impl Debug for EngineNameError
impl Debug for EngineNameError
Source§impl Display for EngineNameError
impl Display for EngineNameError
impl Eq for EngineNameError
Source§impl Error for EngineNameError
impl Error for EngineNameError
1.30.0 · 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 PartialEq for EngineNameError
impl PartialEq for EngineNameError
impl StructuralPartialEq for EngineNameError
Auto Trait Implementations§
impl Forget for EngineNameError
impl Freeze for EngineNameError
impl Move for EngineNameError
impl RefUnwindSafe for EngineNameError
impl Send for EngineNameError
impl Sync for EngineNameError
impl Unpin for EngineNameError
impl UnsafeUnpin for EngineNameError
impl UnwindSafe for EngineNameError
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