pub struct Websocket { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Arbitrary for Websocket
impl Arbitrary for Websocket
Source§type Parameters = (<String as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <u16 as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, u16, Option<OnOff>, Option<OnOff>, Option<OnOff>)) -> Websocket>
type Strategy = Map<(<String as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, u16, Option<OnOff>, Option<OnOff>, Option<OnOff>)) -> Websocket>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for Websocket
impl Ord for Websocket
Source§impl PartialOrd for Websocket
impl PartialOrd for Websocket
impl Eq for Websocket
impl StructuralPartialEq for Websocket
Auto Trait Implementations§
impl Freeze for Websocket
impl RefUnwindSafe for Websocket
impl Send for Websocket
impl Sync for Websocket
impl Unpin for Websocket
impl UnsafeUnpin for Websocket
impl UnwindSafe for Websocket
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