#[non_exhaustive]pub enum Published {
Pushed,
AlreadyPresent,
Local,
PushFailed,
Error,
}Expand description
What a publish came to.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pushed
The remote now holds every block.
AlreadyPresent
Every block was already there: nothing was pushed.
Local
Written to the local ref only (see publish_local).
PushFailed
The push failed, after retries if the failure was a lost race.
Error
A note could not be written at all.
Trait Implementations§
impl Eq for Published
impl StructuralPartialEq for Published
Auto Trait Implementations§
impl Freeze for Published
impl RefUnwindSafe for Published
impl Send for Published
impl Sync for Published
impl Unpin for Published
impl UnsafeUnpin for Published
impl UnwindSafe for Published
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