pub struct RawFaultExecutor { /* private fields */ }Expand description
No-allocation executor that fails at one selected delivery phase.
Implementations§
Trait Implementations§
Source§impl AsyncRawHttpExecutor for RawFaultExecutor
impl AsyncRawHttpExecutor for RawFaultExecutor
Source§type Error = TransportFailure<RawFaultError>
type Error = TransportFailure<RawFaultError>
Executor-specific phased failure.
Source§async fn execute<'executor, 'request, 'policy, 'writer>(
&'executor self,
_request: TransportRequest<'request>,
_policy: RawResponsePolicy<'policy>,
_response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'executor: 'writer,
'request: 'writer,
'policy: 'writer,
async fn execute<'executor, 'request, 'policy, 'writer>(
&'executor self,
_request: TransportRequest<'request>,
_policy: RawResponsePolicy<'policy>,
_response: &'writer mut ResponseWriter<'_>,
) -> Result<(), Self::Error>where
'executor: 'writer,
'request: 'writer,
'policy: 'writer,
Executes exactly once without implicit authentication or retries. Read more
Source§impl BlockingRawHttpExecutor for RawFaultExecutor
impl BlockingRawHttpExecutor for RawFaultExecutor
Source§type Error = TransportFailure<RawFaultError>
type Error = TransportFailure<RawFaultError>
Executor-specific phased failure.
Source§fn execute(
&self,
_request: TransportRequest<'_>,
_policy: RawResponsePolicy<'_>,
_response: &mut ResponseWriter<'_>,
) -> Result<(), Self::Error>
fn execute( &self, _request: TransportRequest<'_>, _policy: RawResponsePolicy<'_>, _response: &mut ResponseWriter<'_>, ) -> Result<(), Self::Error>
Executes exactly once without implicit authentication or retries. Read more
Source§impl Clone for RawFaultExecutor
impl Clone for RawFaultExecutor
Source§fn clone(&self) -> RawFaultExecutor
fn clone(&self) -> RawFaultExecutor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RawFaultExecutor
Source§impl Debug for RawFaultExecutor
impl Debug for RawFaultExecutor
impl Eq for RawFaultExecutor
Source§impl PartialEq for RawFaultExecutor
impl PartialEq for RawFaultExecutor
impl StructuralPartialEq for RawFaultExecutor
Auto Trait Implementations§
impl Freeze for RawFaultExecutor
impl RefUnwindSafe for RawFaultExecutor
impl Send for RawFaultExecutor
impl Sync for RawFaultExecutor
impl Unpin for RawFaultExecutor
impl UnsafeUnpin for RawFaultExecutor
impl UnwindSafe for RawFaultExecutor
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