logo
pub struct StreamRestore { /* private fields */ }
Expand description

A wrapper object providing stream restore routines to a context.

Note: Saves a copy of active multi-use closure callbacks, which it frees on drop.

Implementations

Tests if this extension module is available in the server.

Panics if the underlying C function returns a null pointer.

Reads all entries from the stream database.

Panics if the underlying C function returns a null pointer.

Stores entries in the stream database.

The callback must accept a bool, which indicates success.

Panics if the underlying C function returns a null pointer.

Deletes entries from the stream database.

The callback must accept a bool, which indicates success.

Panics if the underlying C function returns a null pointer.

Subscribes to changes in the stream database.

The callback must accept a bool, which indicates success.

Panics if the underlying C function returns a null pointer.

Sets the subscription callback that is called when subscribe() was called.

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

Performs the conversion.

Performs the conversion.

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.