pub enum Status {
    NoPackReceived {
        update_refs: Outcome,
    },
    Change {
        write_pack_bundle: Outcome,
        update_refs: Outcome,
    },
    DryRun {
        update_refs: Outcome,
    },
}
Available on (crate features async-network-client or blocking-network-client) and (crate features blocking-network-client or async-network-client) only.
Expand description

The status of the repository after the fetch operation

Variants§

§

NoPackReceived

Fields

§update_refs: Outcome

However, depending on the refspecs, references might have been updated nonetheless to point to objects as reported by the remote.

Nothing changed as the remote didn’t have anything new compared to our tracking branches, thus no pack was received and no new object was added.

§

Change

Fields

§write_pack_bundle: Outcome

Information collected while writing the pack and its index.

§update_refs: Outcome

Information collected while updating references.

There was at least one tip with a new object which we received.

§

DryRun

Fields

§update_refs: Outcome

Information about what updates to refs would have been done.

A dry run was performed which leaves the local repository without any change nor will a pack have been received.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. 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 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
Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.