pub enum PublishEvent {
Progress {
completed: u64,
total: u64,
},
Completed(PublishedUri),
Error(String),
Suspended,
Resumed,
}Expand description
Событие публикации.
Variants§
Progress
Ход операции.
Completed(PublishedUri)
Публикация завершена.
Error(String)
Публикация не удалась; внутри объяснение.
Suspended
Публикация приостановлена.
Resumed
Публикация возобновлена.
Trait Implementations§
Source§impl Clone for PublishEvent
impl Clone for PublishEvent
Source§fn clone(&self) -> PublishEvent
fn clone(&self) -> PublishEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PublishEvent
impl RefUnwindSafe for PublishEvent
impl Send for PublishEvent
impl Sync for PublishEvent
impl Unpin for PublishEvent
impl UnsafeUnpin for PublishEvent
impl UnwindSafe for PublishEvent
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