Skip to main content

Crate fast_down_ffi

Crate fast_down_ffi 

Source
Expand description

§fast-down-ffi

GitHub last commit Test Latest version Documentation License

这个库旨在提供一个合适、易于使用的 fast-down 包装

Re-exports§

pub use fast_down;

Modules§

fast_puller
getifaddrs
handle
http
mock
multi
reqwest_adapter
single

Structs§

BoxPusher
CacheDirectPusher
优先选择大块调用 push 但是不含合并过程
CacheMergePusher
优先选择大块调用 push,并且会把大块合并成一个 Bytes
CacheSeqPusher
Config
DownloadResult
DownloadTask
FileId
InvertIter
UrlInfo

Enums§

Error
Event
Proxy
RawEvent
WriteMethod

Traits§

AnyError
Merge
PullStream
Puller
PullerError
Pusher
Total

Functions§

create_cancellation_token
create_channel
invert
window: 当一个 ProgressEntry 的长度小于 window 时,会被合并到空洞内,以减少碎片化进度。
prefetch
这个函数允许通过 drop Future 的方式来取消

Type Aliases§

ProgressEntry
PullResult
Rx
Tx
WorkerId