Struct freya_testing::TestingConfig
source · pub struct TestingConfig { /* private fields */ }
Expand description
Configuration for a [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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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.