pub enum Actor<'a> {
Device {
id: &'a str,
name: &'a str,
agent: &'a str,
},
Operator,
Authkey {
id: &'a str,
tag: &'a str,
},
Session {
credential_id: &'a str,
},
Server,
Host,
}Expand description
Who did it (actor.kind).
Variants§
Device
A signed request from an enrolled device.
Operator
RECALL_TOKEN.
Authkey
An authkey, which approves the device it enrols by itself: named by its id and tag, never by the key.
Session
The admin page’s passkey session, named by the passkey it signed in with, never by its token.
Server
The server’s own doing: a sweep, start, a bootstrap code, or
settling a queued job itself once no worker is left to.
Host
A command run where the server runs, on its database file:
recall-server reset-passkeys, and recall-server admin’s renames,
removes and restores.
Auto Trait Implementations§
impl<'a> Freeze for Actor<'a>
impl<'a> RefUnwindSafe for Actor<'a>
impl<'a> Send for Actor<'a>
impl<'a> Sync for Actor<'a>
impl<'a> Unpin for Actor<'a>
impl<'a> UnsafeUnpin for Actor<'a>
impl<'a> UnwindSafe for Actor<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more