Struct oath_authenticator::state::State
source · [−]pub struct State {
pub runtime: Runtime,
}
Fields
runtime: Runtime
Implementations
sourceimpl State
impl State
pub fn try_persistent<T>(
&mut self,
trussed: &mut T,
f: impl FnOnce(&mut T, &mut Persistent) -> Result<(), Status>
) -> Result<(), Status> where
T: Client,
pub fn persistent<T, X>(
&mut self,
trussed: &mut T,
f: impl FnOnce(&mut T, &mut Persistent) -> X
) -> X where
T: Client,
Trait Implementations
impl Eq for State
impl StructuralEq for State
impl StructuralPartialEq for State
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more