pub enum BundleSeed {
NotOffered,
Seeded(SeededBundle),
Failed {
uri: Option<String>,
reason: String,
},
}Expand description
What seed_from_bundle_uri did.
Variants§
NotOffered
The server offers no bundle; the clone fetches everything.
Seeded(SeededBundle)
The bundle was downloaded and unpacked.
Failed
The bundle could not be used; the clone fetches everything. A partial download is kept so the next clone resumes it.
Trait Implementations§
Source§impl Clone for BundleSeed
impl Clone for BundleSeed
Source§impl Debug for BundleSeed
impl Debug for BundleSeed
impl Eq for BundleSeed
Source§impl PartialEq for BundleSeed
impl PartialEq for BundleSeed
impl StructuralPartialEq for BundleSeed
Auto Trait Implementations§
impl Freeze for BundleSeed
impl RefUnwindSafe for BundleSeed
impl Send for BundleSeed
impl Sync for BundleSeed
impl Unpin for BundleSeed
impl UnsafeUnpin for BundleSeed
impl UnwindSafe for BundleSeed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.