pub enum GrantJournalError {
Event(EventLogError),
Corrupt {
path: PathBuf,
message: String,
},
Poisoned {
path: PathBuf,
},
}Variants§
Trait Implementations§
Source§impl Debug for GrantJournalError
impl Debug for GrantJournalError
Source§impl Display for GrantJournalError
impl Display for GrantJournalError
Source§impl Error for GrantJournalError
impl Error for GrantJournalError
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<EventLogError> for GrantJournalError
impl From<EventLogError> for GrantJournalError
Source§fn from(source: EventLogError) -> Self
fn from(source: EventLogError) -> Self
Converts to this type from the input type.
Source§impl From<GrantJournalError> for EngineError
impl From<GrantJournalError> for EngineError
Source§fn from(source: GrantJournalError) -> Self
fn from(source: GrantJournalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GrantJournalError
impl !UnwindSafe for GrantJournalError
impl Freeze for GrantJournalError
impl Send for GrantJournalError
impl Sync for GrantJournalError
impl Unpin for GrantJournalError
impl UnsafeUnpin for GrantJournalError
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