pub enum WireEvent<'a> {
Request {
identity: Identity,
request: &'a Request,
},
Headers {
identity: Identity,
status: u16,
headers: &'a HeaderMap,
},
Body {
identity: Identity,
bytes: &'a [u8],
},
}Expand description
Wire capture is explicit and sensitive. The library never stores captures by default.
Variants§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WireEvent<'a>
impl<'a> !UnwindSafe for WireEvent<'a>
impl<'a> Freeze for WireEvent<'a>
impl<'a> Send for WireEvent<'a>
impl<'a> Sync for WireEvent<'a>
impl<'a> Unpin for WireEvent<'a>
impl<'a> UnsafeUnpin for WireEvent<'a>
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