pub struct OperationOptions { /* private fields */ }Expand description
Mechanical resources and timing attached to one operation reservation.
Implementations§
Source§impl OperationOptions
impl OperationOptions
Sourcepub const fn until(deadline: Deadline) -> Self
pub const fn until(deadline: Deadline) -> Self
Creates regular-work options with an absolute deadline.
Sourcepub const fn retained_bytes(self, retained_bytes: RetainedBytes) -> Self
pub const fn retained_bytes(self, retained_bytes: RetainedBytes) -> Self
Sets semantic memory retained while the operation remains owned.
Sourcepub const fn write_retained_bytes(self, retained_bytes: RetainedBytes) -> Self
pub const fn write_retained_bytes(self, retained_bytes: RetainedBytes) -> Self
Reserves the maximum memory retained by the complete outbound frame.
Sourcepub const fn completion_mode(self, completion_mode: CompletionMode) -> Self
pub const fn completion_mode(self, completion_mode: CompletionMode) -> Self
Selects whether this operation waits for a reply or completes on write.
Sourcepub const fn class(self) -> AdmissionClass
pub const fn class(self) -> AdmissionClass
Returns the admission class.
Sourcepub const fn retained(self) -> RetainedBytes
pub const fn retained(self) -> RetainedBytes
Returns semantic retained bytes.
Sourcepub const fn write_retained(self) -> RetainedBytes
pub const fn write_retained(self) -> RetainedBytes
Returns reserved complete-frame retained memory.
Sourcepub const fn completion(self) -> CompletionMode
pub const fn completion(self) -> CompletionMode
Returns the mechanical completion condition.
Trait Implementations§
Source§impl Clone for OperationOptions
impl Clone for OperationOptions
impl Copy for OperationOptions
Source§impl Debug for OperationOptions
impl Debug for OperationOptions
impl Eq for OperationOptions
Source§impl PartialEq for OperationOptions
impl PartialEq for OperationOptions
impl StructuralPartialEq 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