pub struct OperationOptions { /* private fields */ }Expand description
Optional controls for one SDK operation.
Implementations§
Source§impl OperationOptions
impl OperationOptions
pub const fn new() -> Self
pub fn with_cancellation(cancellation: CancellationToken) -> Self
pub const fn cancellation(&self) -> Option<&CancellationToken>
Trait Implementations§
Source§impl Clone for OperationOptions
impl Clone for OperationOptions
Source§impl Debug for OperationOptions
impl Debug for OperationOptions
Auto Trait Implementations§
impl Freeze for OperationOptions
impl RefUnwindSafe for OperationOptions
impl Send for OperationOptions
impl Sync for OperationOptions
impl Unpin for OperationOptions
impl UnsafeUnpin for OperationOptions
impl UnwindSafe for OperationOptions
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