pub struct CheckOptions<'a> {
pub timeout: Option<Duration>,
pub module_name: Option<&'a str>,
pub cancellation_token: Option<&'a CancellationToken>,
}Expand description
Per-call options for Checker::check_with_options.
Fields§
§timeout: Option<Duration>Optional timeout override for this call.
module_name: Option<&'a str>Optional module label override for this call.
cancellation_token: Option<&'a CancellationToken>Optional cancellation token for this call.
Trait Implementations§
Source§impl<'a> Clone for CheckOptions<'a>
impl<'a> Clone for CheckOptions<'a>
Source§fn clone(&self) -> CheckOptions<'a>
fn clone(&self) -> CheckOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CheckOptions<'a>
impl<'a> Debug for CheckOptions<'a>
Source§impl<'a> Default for CheckOptions<'a>
impl<'a> Default for CheckOptions<'a>
Source§fn default() -> CheckOptions<'a>
fn default() -> CheckOptions<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for CheckOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for CheckOptions<'a>
impl<'a> RefUnwindSafe for CheckOptions<'a>
impl<'a> Send for CheckOptions<'a>
impl<'a> Sync for CheckOptions<'a>
impl<'a> Unpin for CheckOptions<'a>
impl<'a> UnsafeUnpin for CheckOptions<'a>
impl<'a> UnwindSafe for CheckOptions<'a>
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