pub enum Arrival {
Page,
Preflight,
Socket,
Door(Door),
Pairing,
}Expand description
Which route a request arrived at, as the route table names it.
Variants§
Page
A GET of the client bundle.
Preflight
An OPTIONS request at any route.
Socket
The socket upgrade at /ws.
Door(Door)
One of the HTTP doors that act.
Pairing
/pair, /session/challenge or /session.
Trait Implementations§
impl Copy for Arrival
impl Eq for Arrival
impl StructuralPartialEq for Arrival
Auto Trait Implementations§
impl Freeze for Arrival
impl RefUnwindSafe for Arrival
impl Send for Arrival
impl Sync for Arrival
impl Unpin for Arrival
impl UnsafeUnpin for Arrival
impl UnwindSafe for Arrival
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