pub struct Served {
pub outcome: Outcome,
pub route: Option<RouteId>,
pub cache: Cacheable,
}Expand description
What App::serve reports with the outcome.
Fields§
§outcome: Outcomeserve-net’s outcome.
route: Option<RouteId>The route that ran, if one did.
cache: CacheableWhether a cache in front may keep the reply.
Trait Implementations§
impl Copy for Served
impl Eq for Served
impl StructuralPartialEq for Served
Auto Trait Implementations§
impl Forget for Served
impl Freeze for Served
impl RefUnwindSafe for Served
impl Send for Served
impl Sync for Served
impl Unpin for Served
impl UnsafeUnpin for Served
impl UnwindSafe for Served
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