pub enum DoorId {
Domain,
Reach,
Egress,
EgressHost,
Discard,
Spawn,
Undoable,
Attach,
Command,
Replacing,
}Expand description
The roster of doors, as data.
The refusal conformance matrix walks DOORS rather than naming
doors one by one, so a door added to this enum is a door the matrix
judges: [conformance::sample] matches exhaustively, and a new
arm without a sample does not compile.
Variants§
Domain
domain — may this file be written.
Reach
reach — may this area be worked in at all.
Egress
egress — may these bytes leave.
EgressHost
egress_target — may this host be reached.
Discard
discard — may these files go.
Spawn
spawn — may this position hand work down.
Undoable
undoable — may this connector reach what nothing here can
take back.
Attach
attach — may a run drive the browser a person is already
using, with that person’s logins.
Command
command — may this run start a process.
Replacing
replacing — may this write change a file that is already
there.
Implementations§
Trait Implementations§
impl Copy for DoorId
impl Eq for DoorId
Source§impl Ord for DoorId
impl Ord for DoorId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DoorId
impl PartialOrd for DoorId
impl StructuralPartialEq for DoorId
Auto Trait Implementations§
impl Freeze for DoorId
impl RefUnwindSafe for DoorId
impl Send for DoorId
impl Sync for DoorId
impl Unpin for DoorId
impl UnsafeUnpin for DoorId
impl UnwindSafe for DoorId
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