pub struct Served {
pub result: Result<(), PhpError>,
pub peak_memory: u64,
pub poisoned: bool,
pub headers_sent: bool,
}Expand description
What serving one web request came to.
Fields§
§result: Result<(), PhpError>The script’s outcome; exit() is a normal end.
peak_memory: u64The engine’s peak memory during the request, in bytes.
poisoned: boolWhether a fatal error left the engine degraded (the worker should be replaced).
headers_sent: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for Served
impl Freeze for Served
impl Move for Served
impl RefUnwindSafe for Served
impl Send for Servedwhere
RawVecInner: Send,
impl Sync for Servedwhere
RawVecInner: Sync,
impl Unpin for Served
impl UnsafeUnpin for Served
impl UnwindSafe for Servedwhere
RawVecInner: 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