pub enum BuildSidecarEvent {
StageStarted {
index: u32,
name: Option<String>,
base_image: String,
},
StageFinished {
index: u32,
},
InstructionStarted {
stage: u32,
index: u32,
instruction: String,
},
InstructionFinished {
stage: u32,
index: u32,
cached: bool,
},
Log {
line: String,
is_stderr: bool,
},
Warning {
message: String,
},
Finished {
image_id: String,
manifest_ref: Option<String>,
},
Error {
message: String,
},
}Expand description
Streamed event from the sidecar during a build.
Variants mirror the proto BuildEvent.oneof event arms and translate to
the zlayer-builder BuildEvent enum at the client boundary.
Variants§
Trait Implementations§
Source§impl Clone for BuildSidecarEvent
impl Clone for BuildSidecarEvent
Source§fn clone(&self) -> BuildSidecarEvent
fn clone(&self) -> BuildSidecarEvent
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 moreSource§impl Debug for BuildSidecarEvent
impl Debug for BuildSidecarEvent
Source§impl<'de> Deserialize<'de> for BuildSidecarEvent
impl<'de> Deserialize<'de> for BuildSidecarEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildSidecarEvent
impl RefUnwindSafe for BuildSidecarEvent
impl Send for BuildSidecarEvent
impl Sync for BuildSidecarEvent
impl Unpin for BuildSidecarEvent
impl UnsafeUnpin for BuildSidecarEvent
impl UnwindSafe for BuildSidecarEvent
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