pub struct ProbeResponse {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
}Fields§
§status: u16§headers: Vec<(String, String)>§body: Vec<u8>Implementations§
Source§impl ProbeResponse
impl ProbeResponse
pub fn content_type(&self) -> &str
Auto Trait Implementations§
impl Freeze for ProbeResponse
impl RefUnwindSafe for ProbeResponse
impl Send for ProbeResponse
impl Sync for ProbeResponse
impl Unpin for ProbeResponse
impl UnsafeUnpin for ProbeResponse
impl UnwindSafe for ProbeResponse
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