Struct freya_testing::TestingConfig
source · pub struct TestingConfig { /* private fields */ }
Expand description
Configuration for crate::test_handler::TestingHandler
.
Implementations§
source§impl TestingConfig
impl TestingConfig
pub fn new() -> Self
sourcepub fn with_vdom_timeout(self, vdom_timeout: Duration) -> Self
pub fn with_vdom_timeout(self, vdom_timeout: Duration) -> Self
Specify a custom duration for the VirtualDOM polling timeout, default is 16ms.
sourcepub fn vdom_timeout(&self) -> Duration
pub fn vdom_timeout(&self) -> Duration
Get the VirtualDOM polling timeout.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TestingConfig
impl Send for TestingConfig
impl Sync for TestingConfig
impl Unpin for TestingConfig
impl UnwindSafe for TestingConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.