pub enum BinlogEvent {
Show 31 variants
BuildStarted(BuildStartedEvent),
BuildFinished(BuildFinishedEvent),
ProjectStarted(ProjectStartedEvent),
ProjectFinished(ProjectFinishedEvent),
TargetStarted(TargetStartedEvent),
TargetFinished(TargetFinishedEvent),
TargetSkipped(TargetSkippedEvent),
TaskStarted(TaskStartedEvent),
TaskFinished(TaskFinishedEvent),
TaskCommandLine(TaskCommandLineEvent),
TaskParameter(TaskParameterEvent),
Error(BuildErrorEvent),
Warning(BuildWarningEvent),
Message(BuildMessageEvent),
CriticalBuildMessage(CriticalBuildMessageEvent),
ProjectEvaluationStarted(ProjectEvaluationStartedEvent),
ProjectEvaluationFinished(ProjectEvaluationFinishedEvent),
PropertyReassignment(PropertyReassignmentEvent),
UninitializedPropertyRead(UninitializedPropertyReadEvent),
PropertyInitialValueSet(PropertyInitialValueSetEvent),
EnvironmentVariableRead(EnvironmentVariableReadEvent),
ResponseFileUsed(ResponseFileUsedEvent),
AssemblyLoad(AssemblyLoadEvent),
ProjectImported(ProjectImportedEvent),
BuildCheckMessage(BuildCheckMessageEvent),
BuildCheckWarning(BuildCheckWarningEvent),
BuildCheckError(BuildCheckErrorEvent),
BuildCheckTracing(BuildCheckTracingEvent),
BuildCheckAcquisition(BuildCheckAcquisitionEvent),
BuildSubmissionStarted(BuildSubmissionStartedEvent),
BuildCanceled(BuildCanceledEvent),
}Expand description
A typed build event read from the binlog stream.
Each variant wraps the corresponding event struct from crate::events.
The variant name preserves the record kind, so BuildCheckMessage and
Message are distinct even though they share the same struct layout.
Variants§
BuildStarted(BuildStartedEvent)
BuildFinished(BuildFinishedEvent)
ProjectStarted(ProjectStartedEvent)
ProjectFinished(ProjectFinishedEvent)
TargetStarted(TargetStartedEvent)
TargetFinished(TargetFinishedEvent)
TargetSkipped(TargetSkippedEvent)
TaskStarted(TaskStartedEvent)
TaskFinished(TaskFinishedEvent)
TaskCommandLine(TaskCommandLineEvent)
TaskParameter(TaskParameterEvent)
Error(BuildErrorEvent)
Warning(BuildWarningEvent)
Message(BuildMessageEvent)
CriticalBuildMessage(CriticalBuildMessageEvent)
ProjectEvaluationStarted(ProjectEvaluationStartedEvent)
ProjectEvaluationFinished(ProjectEvaluationFinishedEvent)
PropertyReassignment(PropertyReassignmentEvent)
UninitializedPropertyRead(UninitializedPropertyReadEvent)
PropertyInitialValueSet(PropertyInitialValueSetEvent)
EnvironmentVariableRead(EnvironmentVariableReadEvent)
ResponseFileUsed(ResponseFileUsedEvent)
AssemblyLoad(AssemblyLoadEvent)
ProjectImported(ProjectImportedEvent)
BuildCheckMessage(BuildCheckMessageEvent)
BuildCheckWarning(BuildCheckWarningEvent)
BuildCheckError(BuildCheckErrorEvent)
BuildCheckTracing(BuildCheckTracingEvent)
BuildCheckAcquisition(BuildCheckAcquisitionEvent)
BuildSubmissionStarted(BuildSubmissionStartedEvent)
BuildCanceled(BuildCanceledEvent)
Implementations§
Source§impl BinlogEvent
impl BinlogEvent
Sourcepub fn record_kind(&self) -> BinaryLogRecordKind
pub fn record_kind(&self) -> BinaryLogRecordKind
Returns the record kind that produced this event.
Trait Implementations§
Source§impl Clone for BinlogEvent
impl Clone for BinlogEvent
Source§fn clone(&self) -> BinlogEvent
fn clone(&self) -> BinlogEvent
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 BinlogEvent
impl RefUnwindSafe for BinlogEvent
impl Send for BinlogEvent
impl Sync for BinlogEvent
impl Unpin for BinlogEvent
impl UnsafeUnpin for BinlogEvent
impl UnwindSafe for BinlogEvent
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