pub struct LaneInvocationOptions { /* private fields */ }Expand description
Placement-independent controls applied by the provider lane’s Runtime Driver.
Implementations§
Source§impl LaneInvocationOptions
impl LaneInvocationOptions
Sourcepub const fn with_timeout(self, timeout: Duration) -> Self
pub const fn with_timeout(self, timeout: Duration) -> Self
Applies a provider-Driver-relative deadline.
Sourcepub fn with_cancellation(self, cancellation: LaneCancellationToken) -> Self
pub fn with_cancellation(self, cancellation: LaneCancellationToken) -> Self
Propagates one caller-owned cooperative cancellation signal.
Trait Implementations§
Source§impl Clone for LaneInvocationOptions
impl Clone for LaneInvocationOptions
Source§fn clone(&self) -> LaneInvocationOptions
fn clone(&self) -> LaneInvocationOptions
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 moreSource§impl Debug for LaneInvocationOptions
impl Debug for LaneInvocationOptions
Source§impl Default for LaneInvocationOptions
impl Default for LaneInvocationOptions
Source§fn default() -> LaneInvocationOptions
fn default() -> LaneInvocationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LaneInvocationOptions
impl RefUnwindSafe for LaneInvocationOptions
impl Send for LaneInvocationOptions
impl Sync for LaneInvocationOptions
impl Unpin for LaneInvocationOptions
impl UnsafeUnpin for LaneInvocationOptions
impl UnwindSafe for LaneInvocationOptions
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