pub struct WsRequestOperationHandle { /* private fields */ }Expand description
Cloneable control for the stable operation, independent of individual registrations.
Implementations§
Source§impl WsRequestOperationHandle
impl WsRequestOperationHandle
pub fn id(&self) -> OperationId
Sourcepub fn current_registration(&self) -> Option<RequestRegistration>
pub fn current_registration(&self) -> Option<RequestRegistration>
Snapshot only: None before registration, during backoff, and after completion.
pub fn retry_report(&self) -> RetryReport
pub fn cancel(&self) -> Result<TerminationOutcome>
Trait Implementations§
Source§impl Clone for WsRequestOperationHandle
impl Clone for WsRequestOperationHandle
Auto Trait Implementations§
impl !RefUnwindSafe for WsRequestOperationHandle
impl !UnwindSafe for WsRequestOperationHandle
impl Forget for WsRequestOperationHandle
impl Freeze for WsRequestOperationHandle
impl Move for WsRequestOperationHandle
impl Send for WsRequestOperationHandle
impl Sync for WsRequestOperationHandle
impl Unpin for WsRequestOperationHandle
impl UnsafeUnpin for WsRequestOperationHandle
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