#[non_exhaustive]pub enum DeployRemoteEvent {
CreatingArchive {
path: PathBuf,
},
ArchiveCreated {
file_count: usize,
archive_size: u64,
},
GeneratingUploadUrl,
UploadArchiveStart {
archive_size: u64,
},
DeterminingBuildConfiguration,
BuildConfigDetermined {
config: BuildConfig,
},
InitiatingBuild {
vars: DeployViaAutobuildVars,
},
StreamingAutobuildLogs {
build_id: String,
},
AutobuildLog {
log: AutobuildLog,
},
Finished,
}
Expand description
Events emitted during the remote deployment process.
Used by the on_progress
callback in deploy_app_remote
.
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.
CreatingArchive
Starting creation of the archive file.
ArchiveCreated
Archive file has been created.
GeneratingUploadUrl
UploadArchiveStart
DeterminingBuildConfiguration
BuildConfigDetermined
Fields
§
config: BuildConfig
InitiatingBuild
Fields
§
vars: DeployViaAutobuildVars
StreamingAutobuildLogs
AutobuildLog
Fields
§
log: AutobuildLog
Finished
Trait Implementations§
Source§impl Clone for DeployRemoteEvent
impl Clone for DeployRemoteEvent
Source§fn clone(&self) -> DeployRemoteEvent
fn clone(&self) -> DeployRemoteEvent
Returns a copy of the value. Read more
1.0.0 · 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 DeployRemoteEvent
impl RefUnwindSafe for DeployRemoteEvent
impl Send for DeployRemoteEvent
impl Sync for DeployRemoteEvent
impl Unpin for DeployRemoteEvent
impl UnwindSafe for DeployRemoteEvent
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.