pub struct LookupResult {
pub response_bytes: Vec<u8>,
pub window: Window,
pub ca_label: String,
pub nonce_policy: String,
pub forward_to: Option<String>,
pub max_age_fraction: f64,
}Expand description
Result of a successful lookup — the response bytes plus the window from the serving bundle for HTTP header generation.
Fields§
§response_bytes: Vec<u8>§window: Window§ca_label: String§nonce_policy: String§forward_to: Option<String>§max_age_fraction: f64Auto Trait Implementations§
impl Freeze for LookupResult
impl RefUnwindSafe for LookupResult
impl Send for LookupResult
impl Sync for LookupResult
impl Unpin for LookupResult
impl UnsafeUnpin for LookupResult
impl UnwindSafe for LookupResult
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