pub struct NetworkClientOptions {
pub protocol: String,
pub host: String,
pub port: u16,
pub sleep: u64,
pub try_time: u64,
}Expand description
Options for configuring network client fuzzing.
This struct defines parameters needed for fuzzing network clients, including protocol type, host, port, and timing configurations.
Fields§
§protocol: StringNetwork protocol (tcp/udp)
host: StringTarget host
port: u16Target port
sleep: u64Sleep time in microseconds
try_time: u64Restart try time if connection fails
Implementations§
Trait Implementations§
Source§impl Args for NetworkClientOptions
impl Args for NetworkClientOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for NetworkClientOptions
impl Debug for NetworkClientOptions
Source§impl FromArgMatches for NetworkClientOptions
impl FromArgMatches for NetworkClientOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for NetworkClientOptions
impl RefUnwindSafe for NetworkClientOptions
impl Send for NetworkClientOptions
impl Sync for NetworkClientOptions
impl Unpin for NetworkClientOptions
impl UnsafeUnpin for NetworkClientOptions
impl UnwindSafe for NetworkClientOptions
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