pub struct InvocationLimits {
pub cancel_check: Option<fn() -> bool>,
pub deadline_unix_ns: u64,
}Fields§
§cancel_check: Option<fn() -> bool>§deadline_unix_ns: u64Trait Implementations§
Source§impl Clone for InvocationLimits
impl Clone for InvocationLimits
Source§fn clone(&self) -> InvocationLimits
fn clone(&self) -> InvocationLimits
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 moreimpl Copy for InvocationLimits
Source§impl Debug for InvocationLimits
impl Debug for InvocationLimits
Auto Trait Implementations§
impl Freeze for InvocationLimits
impl RefUnwindSafe for InvocationLimits
impl Send for InvocationLimits
impl Sync for InvocationLimits
impl Unpin for InvocationLimits
impl UnsafeUnpin for InvocationLimits
impl UnwindSafe for InvocationLimits
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