pub struct GateError {
pub code: String,
pub detail: String,
/* private fields */
}Fields§
§code: String§detail: StringImplementations§
Trait Implementations§
impl Eq for GateError
Source§impl Error for GateError
impl Error for GateError
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<StoreError> for GateError
impl From<StoreError> for GateError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for GateError
Auto Trait Implementations§
impl Forget for GateError
impl Freeze for GateErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const SettingsFile is !null: Freeze,
PhantomData<SettingsFile>: Freeze,
*const Value is !null: Freeze,
PhantomData<Value>: Freeze,
PhantomData<PathBuf>: Freeze,
impl Move for GateError
impl RefUnwindSafe for GateError
impl Send for GateError
impl Sync for GateError
impl Unpin for GateError
impl UnsafeUnpin for GateErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const SettingsFile is !null: UnsafeUnpin,
PhantomData<SettingsFile>: UnsafeUnpin,
*const Value is !null: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for GateError
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