[][src]Struct loraxe::Config

pub struct Config {
    pub sock_timeout: Duration,
    pub https: bool,
    pub addr: String,
    pub port: u16,
    pub rand_ua: bool,
    pub socket_count: usize,
    pub dos_type: DOSType,
    pub delay: u64,
    pub read_size: usize,
}

Config of the DOS attack

Fields

sock_timeout: Durationhttps: bool

https toggle

addr: String

Target Address

port: u16

Port to attack

rand_ua: bool

Use random User agents or not

socket_count: usize

Amount of sockets to use

dos_type: DOSType

Type of DOS to use

delay: u64

Amount of time to wait in between packets

read_size: usize

Size of read buffer for SlowRead attack

Trait Implementations

impl PartialEq<Config> for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]