pub struct AuthMachineAuthority { /* private fields */ }Implementations§
Source§impl AuthMachineAuthority
impl AuthMachineAuthority
pub fn new() -> Self
pub fn state(&self) -> &AuthMachineState
pub fn recover_from_state( state: AuthMachineState, ) -> Result<Self, AuthMachineTransitionError>
pub fn fork(&self) -> Self
pub fn snapshot(&self) -> AuthMachineAuthoritySnapshot
pub fn restore_snapshot(&mut self, snapshot: AuthMachineAuthoritySnapshot)
Trait Implementations§
Source§impl AuthMachineMutator for AuthMachineAuthority
impl AuthMachineMutator for AuthMachineAuthority
fn apply( &mut self, input: AuthMachineInput, ) -> Result<AuthMachineTransition, AuthMachineTransitionError>
Auto Trait Implementations§
impl !RefUnwindSafe for AuthMachineAuthority
impl !UnwindSafe for AuthMachineAuthority
impl Freeze for AuthMachineAuthority
impl Send for AuthMachineAuthority
impl Sync for AuthMachineAuthority
impl Unpin for AuthMachineAuthority
impl UnsafeUnpin for AuthMachineAuthority
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