pub struct Selector {
pub check_tcp: bool,
pub check_udp: bool,
pub port_range: (u16, u16),
pub max_random_times: u16,
}
Fields§
§check_tcp: bool
§check_udp: bool
§port_range: (u16, u16)
§max_random_times: u16
Trait Implementations§
impl Copy for Selector
Auto Trait Implementations§
impl Freeze for Selector
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnwindSafe for Selector
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