Struct aws_smithy_http::operation::Operation
source · [−]pub struct Operation<H, R> { /* private fields */ }
Implementations
sourceimpl<H, R> Operation<H, R>
impl<H, R> Operation<H, R>
pub fn into_request_response(self) -> (Request, Parts<H, R>)
pub fn from_parts(request: Request, parts: Parts<H, R>) -> Self
pub fn properties_mut(&mut self) -> impl DerefMut<Target = PropertyBag> + '_
pub fn properties(&self) -> impl Deref<Target = PropertyBag> + '_
pub fn with_metadata(self, metadata: Metadata) -> Self
pub fn with_retry_policy<R2>(self, retry_policy: R2) -> Operation<H, R2>
pub fn retry_policy(&self) -> &R
pub fn try_clone(&self) -> Option<Self> where
H: Clone,
R: Clone,
Trait Implementations
Auto Trait Implementations
impl<H, R> !RefUnwindSafe for Operation<H, R>
impl<H, R> Send for Operation<H, R> where
H: Send,
R: Send,
impl<H, R> Sync for Operation<H, R> where
H: Sync,
R: Sync,
impl<H, R> Unpin for Operation<H, R> where
H: Unpin,
R: Unpin,
impl<H, R> !UnwindSafe for Operation<H, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more