#[non_exhaustive]pub enum WritePhase {
SchemaPlanning,
WriterInitialization,
TargetMetadataValidation,
BatchWrite,
BatchSchemaValidation,
ValueConversion,
DirectEncoding,
PacketWrite,
Finish,
Finalize,
}Expand description
Stable write-path phase vocabulary for classifying writer failures.
Phase names match the phase field emitted by crate-owned tracing
instrumentation. Diagnostics describe what failed; phases describe where the
failure happened.
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.
SchemaPlanning
Arrow-to-SQL Server schema planning.
WriterInitialization
Bulk writer initialization.
TargetMetadataValidation
SQL Server target metadata validation before writer startup completes.
BatchWrite
Bulk writer batch write entry point.
BatchSchemaValidation
Runtime record batch schema validation before value conversion.
ValueConversion
Runtime Arrow value conversion to SQL Server cells.
DirectEncoding
Direct raw TDS encoding.
PacketWrite
Packet or row write to the Tiberius bulk load sink.
Finish
Bulk writer finish entry point.
Finalize
Tiberius bulk load finalization.
Implementations§
Trait Implementations§
Source§impl Clone for WritePhase
impl Clone for WritePhase
Source§fn clone(&self) -> WritePhase
fn clone(&self) -> WritePhase
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 moreimpl Copy for WritePhase
Source§impl Debug for WritePhase
impl Debug for WritePhase
Source§impl Display for WritePhase
impl Display for WritePhase
impl Eq for WritePhase
Source§impl Hash for WritePhase
impl Hash for WritePhase
Source§impl PartialEq for WritePhase
impl PartialEq for WritePhase
Source§fn eq(&self, other: &WritePhase) -> bool
fn eq(&self, other: &WritePhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WritePhase
Auto Trait Implementations§
impl Freeze for WritePhase
impl RefUnwindSafe for WritePhase
impl Send for WritePhase
impl Sync for WritePhase
impl Unpin for WritePhase
impl UnsafeUnpin for WritePhase
impl UnwindSafe for WritePhase
Blanket Implementations§
impl<T> Allocation for T
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