pub struct PreparedExternalOperation { /* private fields */ }Implementations§
Source§impl PreparedExternalOperation
impl PreparedExternalOperation
pub fn interruptible_async<F, Fut>(
kind: CompletionKind,
decoder: Box<dyn CompletionDecoder>,
resource: InterruptibleResource,
job: F,
) -> Selfwhere
F: FnOnce() -> Fut + Send + 'static,
Fut: Future<Output = Result<SendPayload, ExternalFailure>> + Send + 'static,
pub fn interruptible_blocking<F>( kind: CompletionKind, decoder: Box<dyn CompletionDecoder>, resource: InterruptibleResource, job: F, ) -> Self
pub fn quarantined_blocking<F>( kind: CompletionKind, decoder: Box<dyn CompletionDecoder>, bound: QuarantineBound, job: F, ) -> Self
Trait Implementations§
Source§impl Drop for PreparedExternalOperation
impl Drop for PreparedExternalOperation
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedExternalOperation
impl !Send for PreparedExternalOperation
impl !Sync for PreparedExternalOperation
impl !UnwindSafe for PreparedExternalOperation
impl Freeze for PreparedExternalOperation
impl Unpin for PreparedExternalOperation
impl UnsafeUnpin for PreparedExternalOperation
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