pub struct Route<S> { /* private fields */ }Expand description
Admitted request routing ranges and their immutable source.
Implementations§
Source§impl<S> Route<S>
impl<S> Route<S>
pub fn into_source(self) -> S
pub fn transition(&self) -> Intent
pub fn take_expect(&mut self) -> Decision
pub const fn head_end(&self) -> NonZero<u32>
Trait Implementations§
impl Copy for Route<&[u8]>
impl<S: Eq> Eq for Route<S>
impl<S: PartialEq> StructuralPartialEq for Route<S>
Auto Trait Implementations§
impl<S> Freeze for Route<S>where
S: Freeze,
impl<S> RefUnwindSafe for Route<S>where
S: RefUnwindSafe,
impl<S> Send for Route<S>where
S: Send,
impl<S> Sync for Route<S>where
S: Sync,
impl<S> Unpin for Route<S>where
S: Unpin,
impl<S> UnsafeUnpin for Route<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Route<S>where
S: UnwindSafe,
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