Struct tauri::State [−][src]
Expand description
A guard for a state value.
Implementations
Retrieve a borrow to the underlying value with a lifetime of 'r
.
Using this method is typically unnecessary as State
implements
std::ops::Deref
with a std::ops::Deref::Target
of T
.
Trait Implementations
Grabs the State
from the CommandItem
. This will never fail.
Auto Trait Implementations
impl<'r, T> RefUnwindSafe for State<'r, T> where
T: RefUnwindSafe,
impl<'r, T> UnwindSafe for State<'r, T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V