Enum ipfs_embed::SyncEvent[][src]

pub enum SyncEvent {
    Progress {
        missing: usize,
    },
    Complete(Result<()>),
}
Expand description

An event of a sync query.

Variants

Progress

Signals that the sync query made progress and counts the amount of subtrees to sync. If it is syncing a linked list, it will always be 1.

Show fields

Fields of Progress

missing: usize
Complete(Result<()>)

Signals completion of the sync query and if it was completed successfully.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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 for metadata in pointers and references to Self.

Scrape the references from an impl Read. Read more

Should always be Self

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.