pub struct AuthMachineAuthority {
pub state: AuthMachineState,
}Fields§
§state: AuthMachineStateImplementations§
Source§impl AuthMachineAuthority
impl AuthMachineAuthority
pub fn new() -> Self
pub fn from_state(state: AuthMachineState) -> Self
Trait Implementations§
Source§impl AuthMachineMutator for AuthMachineAuthority
impl AuthMachineMutator for AuthMachineAuthority
fn apply( &mut self, input: AuthMachineInput, ) -> Result<AuthMachineTransition, AuthMachineTransitionError>
Auto Trait Implementations§
impl Freeze for AuthMachineAuthority
impl RefUnwindSafe for AuthMachineAuthority
impl Send for AuthMachineAuthority
impl Sync for AuthMachineAuthority
impl Unpin for AuthMachineAuthority
impl UnsafeUnpin for AuthMachineAuthority
impl UnwindSafe 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