pub struct Assurances {
pub filesystem: Kept,
pub network: Kept,
pub process_tree: Kept,
pub user: Kept,
pub resources: Kept,
}Expand description
What one arm promises, axis by axis.
Every arm states all five axes, and that is the point of the type: a new axis is a compile error in every arm’s constructor, so no arm can keep a stale answer to a question that arrived after it was written.
Fields§
§filesystem: Kept§network: Kept§process_tree: Kept§user: Kept§resources: KeptImplementations§
Source§impl Assurances
impl Assurances
Sourcepub fn of(self, axis: Guarantee) -> Kept
pub fn of(self, axis: Guarantee) -> Kept
The whole list, in the order Guarantee::ALL declares.
Trait Implementations§
Source§impl Clone for Assurances
impl Clone for Assurances
impl Copy for Assurances
Source§impl Debug for Assurances
impl Debug for Assurances
impl Eq for Assurances
Source§impl PartialEq for Assurances
impl PartialEq for Assurances
impl StructuralPartialEq for Assurances
Auto Trait Implementations§
impl Freeze for Assurances
impl RefUnwindSafe for Assurances
impl Send for Assurances
impl Sync for Assurances
impl Unpin for Assurances
impl UnsafeUnpin for Assurances
impl UnwindSafe for Assurances
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