pub enum ModuleClassError {
UnknownModuleClass(u8),
UnknownModuleClassString(String),
}
Variants§
Trait Implementations§
Source§impl Debug for ModuleClassError
impl Debug for ModuleClassError
Source§impl Display for ModuleClassError
impl Display for ModuleClassError
Source§impl Error for ModuleClassError
impl Error for ModuleClassError
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 From<ModuleClassError> for ArmorModuleError
impl From<ModuleClassError> for ArmorModuleError
Source§fn from(source: ModuleClassError) -> Self
fn from(source: ModuleClassError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleClassError> for ShipHardpointModuleError
impl From<ModuleClassError> for ShipHardpointModuleError
Source§fn from(source: ModuleClassError) -> Self
fn from(source: ModuleClassError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleClassError> for ShipInternalModuleError
impl From<ModuleClassError> for ShipInternalModuleError
Source§fn from(source: ModuleClassError) -> Self
fn from(source: ModuleClassError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModuleClassError
impl RefUnwindSafe for ModuleClassError
impl Send for ModuleClassError
impl Sync for ModuleClassError
impl Unpin for ModuleClassError
impl UnwindSafe for ModuleClassError
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