Struct dittolive_ditto::ditto::builder::DittoBuilder[][src]

pub struct DittoBuilder { /* fields omitted */ }

Implementations

Create a new, empty builder for a Ditto instance

Set root directory where Ditto will store its data

Configure the minimum log level for the Ditto instance

Build a Ditto instance with a temporary storage directory which will be destroyed on exit

Provide a factory FnOnce which will create and configure the Identity for the Ditto instance

Provide a factory for the TransportConfig used by the Ditto instance

Builds the Ditto instance, consuming the builder the process

Trait Implementations

Returns the “default value” for a 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.

Converts to T by calling Into<T>::into.

Tries to convert to T by calling TryInto<T>::try_into.

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.