pub enum InitDatabaseBeforeAction {
Continue,
Cancel(RustAuthError),
Replace(DbRecord),
}Expand description
Action returned by an init-time database before hook.
Variants§
Trait Implementations§
Source§impl Debug for InitDatabaseBeforeAction
impl Debug for InitDatabaseBeforeAction
Source§impl PartialEq for InitDatabaseBeforeAction
impl PartialEq for InitDatabaseBeforeAction
Source§fn eq(&self, other: &InitDatabaseBeforeAction) -> bool
fn eq(&self, other: &InitDatabaseBeforeAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InitDatabaseBeforeAction
Auto Trait Implementations§
impl Freeze for InitDatabaseBeforeAction
impl RefUnwindSafe for InitDatabaseBeforeAction
impl Send for InitDatabaseBeforeAction
impl Sync for InitDatabaseBeforeAction
impl Unpin for InitDatabaseBeforeAction
impl UnsafeUnpin for InitDatabaseBeforeAction
impl UnwindSafe for InitDatabaseBeforeAction
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