pub enum PhpResponse {
Ok {
status: u16,
body: Vec<u8>,
headers: Vec<(String, String)>,
exec_time_us: u64,
},
Error(String),
}Expand description
Response from a PHP worker.
Variants§
Trait Implementations§
Source§impl Clone for PhpResponse
impl Clone for PhpResponse
Source§fn clone(&self) -> PhpResponse
fn clone(&self) -> PhpResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PhpResponse
impl RefUnwindSafe for PhpResponse
impl Send for PhpResponse
impl Sync for PhpResponse
impl Unpin for PhpResponse
impl UnsafeUnpin for PhpResponse
impl UnwindSafe for PhpResponse
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