[][src]Struct pikmin::downloader::bf::BfDownloader

pub struct BfDownloader { /* fields omitted */ }

A pre-built downloader for bitFlyer.

Methods

impl BfDownloader[src]

pub fn new(newer: u64, older: u64) -> Self[src]

Creates a new downloader with a specific range. The input source is fixed.

Trait Implementations

impl Downloader for BfDownloader[src]

type IDT = u64

A type of element which ID is made up of.

type ID = OrdID<Self::IDT>

A type of ID for specifying the downloading point in an API client.

type RAW = BfGetExecution

A type of downloaded trade data.

fn init_id(
    &self,
    default: Self::IDT,
    process_log_path: &Path
) -> Result<Self::IDT>
[src]

Returns initial ID from a progress file. If reading is failed, use a given default value.

fn record_progress(&self, path: &Path, id: &str) -> Result<()>[src]

Records progress on somewhere (typically a file).

fn run(
    &self,
    writer: &mut impl Writer,
    process_log_path: &Path
) -> Result<()>
[src]

Executes downloading.

impl Debug for BfDownloader[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self