pub enum Exposure {
Local,
Remote,
}Expand description
Who may call an action.
Variants§
Local
The host machine’s own identity: the local pipe or Unix socket, where the operating system already proved who is asking. A remote connection never holds this, whatever its account.
Remote
Any connection that authenticated — a signed-in remote session as much as the local client the owner started.
Implementations§
Trait Implementations§
impl Copy for Exposure
impl Eq for Exposure
impl StructuralPartialEq for Exposure
Auto Trait Implementations§
impl Forget for Exposure
impl Freeze for Exposure
impl Move for Exposure
impl RefUnwindSafe for Exposure
impl Send for Exposure
impl Sync for Exposure
impl Unpin for Exposure
impl UnsafeUnpin for Exposure
impl UnwindSafe for Exposure
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