[−][src]Struct fastly::response::FastlyResponseMetadata
Additional Fastly-specific metadata for responses.
Implementations
impl FastlyResponseMetadata
[src]
pub fn new<T>(backend: Backend, sent_req: Request<T>) -> Self
[src]
Create a response metadata object, given the request Parts
and the backend name.
pub fn backend(&self) -> Option<&Backend>
[src]
Get a reference to the Backend
that this response came from.
pub fn sent_req(&self) -> Option<&Request<()>>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FastlyResponseMetadata
impl Send for FastlyResponseMetadata
impl Sync for FastlyResponseMetadata
impl Unpin for FastlyResponseMetadata
impl !UnwindSafe for FastlyResponseMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,