pub enum Admission {
Admit(Pairing),
Refuse(AxError),
}Expand description
What a door does with one request, before any of its bytes are read.
Variants§
Admit(Pairing)
Let it through, carrying whether the caller held the token. Only
Door::Acp is ever admitted unpaired.
Refuse(AxError)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Admission
impl RefUnwindSafe for Admission
impl Send for Admission
impl Sync for Admission
impl Unpin for Admission
impl UnsafeUnpin for Admission
impl UnwindSafe for Admission
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