#[non_exhaustive]pub enum WarningKind {
OhlcRepaired {
series: SeriesId,
bars: usize,
},
TimeAxisMerged {
series: SeriesId,
slots: usize,
},
DataDropped {
series: SeriesId,
},
}Expand description
Non-fatal problems reported through ChartEvent::Warning.
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.
OhlcRepaired
ValidationMode::Repair widened high/low of bars bars.
TimeAxisMerged
Times of series fell between bars of the time axis, so the axis was
rebuilt as the union of all series’ times and the logical
indices after the first inserted bar moved.
Fields
DataDropped
The data of series could not be moved onto a rebuilt time axis (out
of memory) and was cleared.
Trait Implementations§
Source§impl Clone for WarningKind
impl Clone for WarningKind
impl Copy for WarningKind
Source§impl Debug for WarningKind
impl Debug for WarningKind
impl Eq for WarningKind
Source§impl PartialEq for WarningKind
impl PartialEq for WarningKind
impl StructuralPartialEq for WarningKind
Auto Trait Implementations§
impl Forget for WarningKind
impl Freeze for WarningKind
impl Move for WarningKind
impl RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl UnsafeUnpin for WarningKind
impl UnwindSafe for WarningKind
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