pub struct TestOptions {
pub allow_interrupts: bool,
}Expand description
Options for running an async test.
Fields§
§allow_interrupts: boolTrue iff the executor should support binding Zircon interrupts.
Trait Implementations§
Source§impl Clone for TestOptions
impl Clone for TestOptions
Source§fn clone(&self) -> TestOptions
fn clone(&self) -> TestOptions
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 TestOptions
Source§impl Debug for TestOptions
impl Debug for TestOptions
Source§impl Default for TestOptions
impl Default for TestOptions
Source§fn default() -> TestOptions
fn default() -> TestOptions
Returns the “default value” for a type. Read more
impl Eq for TestOptions
Source§impl PartialEq for TestOptions
impl PartialEq for TestOptions
impl StructuralPartialEq for TestOptions
Auto Trait Implementations§
impl Freeze for TestOptions
impl RefUnwindSafe for TestOptions
impl Send for TestOptions
impl Sync for TestOptions
impl Unpin for TestOptions
impl UnsafeUnpin for TestOptions
impl UnwindSafe for TestOptions
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