pub enum Owner {
Root,
Any,
}Expand description
Who must own a file carrier before it is read.
Variants§
Root
Owned by root and writable by nobody else (the machine carrier: a file anyone else can write could redirect the Hive trust root).
Any
Any owner (sandboxed tests).
Trait Implementations§
impl Copy for Owner
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Forget for Owner
impl Freeze for Owner
impl Move for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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