Struct attohttpc::RequestInspector [−][src]
Allows to inspect the properties of a request before preparing it.
Implementations
impl<B> RequestInspector<'_, B>
[src]
pub fn url(&self) -> &Url
[src]
Access the current URL
pub fn method(&self) -> &Method
[src]
Access the current method
pub fn body(&mut self) -> &mut B
[src]
Access the current body
pub fn headers(&self) -> &HeaderMap
[src]
Acess the current headers
Trait Implementations
impl<'a, B: Debug> Debug for RequestInspector<'a, B>
[src]
Auto Trait Implementations
impl<'a, B> RefUnwindSafe for RequestInspector<'a, B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<'a, B> Send for RequestInspector<'a, B> where
B: Send,
B: Send,
impl<'a, B> Sync for RequestInspector<'a, B> where
B: Sync,
B: Sync,
impl<'a, B> Unpin for RequestInspector<'a, B>
impl<'a, B> !UnwindSafe for RequestInspector<'a, B>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,