Struct rustube::CallbackArguments [−][src]
This is supported on crate feature
callback
only.Expand description
Arguments given either to a on_progress callback or on_progress receiver
Fields
current_chunk: usize
content_length: Option<u64>
It’s more idiomatic to use this content length instead of a prefetched value since the content of this field might change in the future during the download.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CallbackArguments
impl Send for CallbackArguments
impl Sync for CallbackArguments
impl Unpin for CallbackArguments
impl UnwindSafe for CallbackArguments
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more