pub enum Pairing {
Held,
Absent,
}Expand description
Whether the caller held this city’s pairing token.
The verdict a door hands inward, so it is vocabulary rather than
listener: the city’s writer reads it without the server feature
(wire D2).
An enum rather than a boolean so that neither a door nor an admission can pass the verdict the wrong way round and still compile.
Variants§
Trait Implementations§
impl Copy for Pairing
impl Eq for Pairing
impl StructuralPartialEq for Pairing
Auto Trait Implementations§
impl Freeze for Pairing
impl RefUnwindSafe for Pairing
impl Send for Pairing
impl Sync for Pairing
impl Unpin for Pairing
impl UnsafeUnpin for Pairing
impl UnwindSafe for Pairing
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