Struct owlyshield_ransom::connectors::connectors::Connectors[][src]

pub struct Connectors;
Expand description

Struct initializing the list of connectors and managing launch events.

Implementations

Initialize the list of Connector

Add your custom connector in the Vec array.

Example

Basic usage:

vec![
    Box::new(MyConnector),
]

Where MyConnector is a struct implementing the Connector trait.

Launch on_startup method of all connectors at service startup.

Launch on_event_kill method of all connectors at threat detection.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.