pub struct MockConfig {
pub device_id: String,
pub should_fail_connection: bool,
pub should_timeout: bool,
pub default_delay_ms: u64,
}Expand description
Mock WebSocket behavior configuration
Fields§
§device_id: String§should_fail_connection: bool§should_timeout: bool§default_delay_ms: u64Trait Implementations§
Source§impl Clone for MockConfig
impl Clone for MockConfig
Source§impl Debug for MockConfig
impl Debug for MockConfig
Auto Trait Implementations§
impl Freeze for MockConfig
impl RefUnwindSafe for MockConfig
impl Send for MockConfig
impl Sync for MockConfig
impl Unpin for MockConfig
impl UnsafeUnpin for MockConfig
impl UnwindSafe for MockConfig
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