pub struct LibReloader { /* private fields */ }

Implementations

Checks if the watched library has changed. If it has, reload it and return true. Otherwise return false.

Get a pointer to a function or static variable by symbol name. Just a wrapper around libloading::Library::get.

The symbol may not contain any null bytes, with the exception of the last byte. Providing a null-terminated symbol may help to avoid an allocation. The symbol is interpreted as is, no mangling.

Safety

Users of this API must specify the correct type of the function or variable loaded.

Trait Implementations

Executes the destructor for this type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

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

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.