[][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,
    recorder: &mut impl ProgressRecorder
) -> Result<Self::ID>
[src]

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

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

Executes downloading.

impl Debug for BfDownloader[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self