pub enum WriteMode {
Overwrite,
Append,
Resume,
}Expand description
How an already-present symbol tree is treated by a sync run.
Variants§
Overwrite
Overwrite each symbol’s files with the freshly fetched window (default).
Append
Merge fetched rows into existing files (extend an existing tree).
Resume
Skip any symbol that already has a prices/{SYM}.csv.gz.
Trait Implementations§
impl Copy for WriteMode
impl Eq for WriteMode
impl StructuralPartialEq for WriteMode
Auto Trait Implementations§
impl Freeze for WriteMode
impl RefUnwindSafe for WriteMode
impl Send for WriteMode
impl Sync for WriteMode
impl Unpin for WriteMode
impl UnsafeUnpin for WriteMode
impl UnwindSafe for WriteMode
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