pub struct CoreManager {
    pub config: Arc<Config>,
    pub module_manager: Arc<ModuleManager>,
    pub render_manager: Arc<RenderingManager>,
    pub socket_manager: Arc<SocketManager>,
    /* private fields */
}
Expand description

Core manager struct

Fields

config: Arc<Config>module_manager: Arc<ModuleManager>render_manager: Arc<RenderingManager>socket_manager: Arc<SocketManager>

Implementations

Creates new core manager with provided module manager and config

Adds all devices from config to managed devices, used at start of the software

Lists detected unmanaged devices

Adds device to automatic reconnection

Connects to a device

Removes device from automatic reconnection and stops current connection to it

Lists managed devices

Returns if specific device is in managed list

Gets device data from managed devices

Starts running reconnection routine on current thread, probably spawn it out as a separate thread

Auto Trait Implementations

Blanket Implementations

Convert the source color to the destination color using the specified method Read more

Convert the source color to the destination color using the bradford method by default Read more

Gets the TypeId of self. Read more

The error type produced by a failed conversion.

Convert the given value into an approximately equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an approximately equivalent representation.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Approximate the subject with the default scheme.

Approximate the subject with a specific scheme.

Approximate the subject to a given type with the default scheme.

Approximate the subject to a given type with a specific scheme.

Convert the subject to a given type.

Attempt to convert the subject to a given type.

Attempt a value conversion of the subject to a given type.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert into T with values clamped to the color defined bounds Read more

Convert into T. The resulting color might be invalid in its color space Read more

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 error type produced by a failed conversion.

Convert the given value into the subject type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the subject into the destination type.

The type returned in the event of a conversion error.

Performs the conversion.

Convert into T, returning ok if the color is inside of its defined range, otherwise an OutOfBounds error is returned which contains the unclamped color. Read more

The error type produced by a failed conversion.

Convert the given value into an exactly equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an exactly equivalent representation.