pub enum Door {
Transcribe,
Enroll,
Acp,
Drop,
}Expand description
Which HTTP door a request arrived at.
Exhaustive, because the pairing rule is not the same at all three: a door that answers a stranger with a refusal and a door that lets the refusal be worded further inward are different rules, and a boolean would let a new door inherit whichever one was nearer.
Variants§
Transcribe
POST /transcribe: bytes that cost money at a provider.
Enroll
POST /enroll: a credential on its way to the vault.
Acp
POST /acp: an outside editor driving the city.
Drop
POST /drop: a file written onto the city’s disk.
Trait Implementations§
impl Copy for Door
impl Eq for Door
impl StructuralPartialEq for Door
Auto Trait Implementations§
impl Freeze for Door
impl RefUnwindSafe for Door
impl Send for Door
impl Sync for Door
impl Unpin for Door
impl UnsafeUnpin for Door
impl UnwindSafe for Door
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