[][src]Struct loraxe::Loraxe

pub struct Loraxe<T> {
    pub config: Config,
    pub connections: Vec<T>,
}

Loraxe DOS object

Fields

config: Config

Config of the loraxe

connections: Vec<T>

Vector of connections

Methods

impl Loraxe<TcpStream>[src]

pub fn new(config: Config) -> Self[src]

Create a new loraxe instance

pub fn create_sockets(&mut self) -> Result<(), Box<dyn Error>>[src]

Creates the inital sockets of the attack

pub fn attack(&mut self) -> Result<(), Box<dyn Error>>[src]

Trait Implementations

impl<T: PartialEq> PartialEq<Loraxe<T>> for Loraxe<T>[src]

impl<T: Debug> Debug for Loraxe<T>[src]

Auto Trait Implementations

impl<T> Send for Loraxe<T> where
    T: Send

impl<T> Sync for Loraxe<T> where
    T: Sync

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]