Struct qiniu_download::RangeReader [−][src]
pub struct RangeReader { /* fields omitted */ }Expand description
对象范围下载器
Implementations
pub fn builder(
bucket: impl Into<String>,
key: impl Into<String>,
credential: Credential,
io_urls: Vec<String>
) -> RangeReaderBuilder[src]
pub fn builder(
bucket: impl Into<String>,
key: impl Into<String>,
credential: Credential,
io_urls: Vec<String>
) -> RangeReaderBuilder[src]创建范围下载构建器
下载当前对象到指定输出流中
Trait Implementations
Read bytes from an offset in this source into a buffer, returning how many bytes were read. Read more
Auto Trait Implementations
impl !RefUnwindSafe for RangeReaderimpl Send for RangeReaderimpl Sync for RangeReaderimpl Unpin for RangeReaderimpl !UnwindSafe for RangeReaderBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Pipes by value. This is generally the method you want to use. Read more
Borrows self and passes that borrow into the pipe function. Read more
Mutably borrows self and passes that borrow into the pipe function. Read more
Borrows self, then passes self.borrow() into the pipe function. Read more
Mutably borrows self, then passes self.borrow_mut() into the pipe
function. Read more
Borrows self, then passes self.as_ref() into the pipe function.
Mutably borrows self, then passes self.as_mut() into the pipe
function. Read more
Borrows self, then passes self.deref() into the pipe function.
Reads an unsigned 8-bit integer at an offset.
Reads an unsigned 16-bit integer at an offset.
Reads a signed 16-bit integer at an offset.
Reads an unsigned 32-bit integer at an offset.
Reads a signed 32-bit integer at an offset.
Reads an unsigned 64-bit integer at an offset.
Reads a signed 64-bit integer at an offset.
Reads an unsigned nbytes-bit integer at an offset.
Reads a signed nbytes-bit integer at an offset.
Reads a single-precision floating point number at an offset.
type Output = T
type Output = TShould always be Self
Immutable access to the Borrow<B> of a value. Read more
Mutable access to the BorrowMut<B> of a value. Read more
Immutable access to the AsRef<R> view of a value. Read more
Mutable access to the AsMut<R> view of a value. Read more
Immutable access to the Deref::Target of a value. Read more
Mutable access to the Deref::Target of a value. Read more
Calls .tap() only in debug builds, and is erased in release builds.
Calls .tap_mut() only in debug builds, and is erased in release
builds. Read more
Calls .tap_borrow() only in debug builds, and is erased in release
builds. Read more
Calls .tap_borrow_mut() only in debug builds, and is erased in release
builds. Read more
Calls .tap_ref() only in debug builds, and is erased in release
builds. Read more
Calls .tap_ref_mut() only in debug builds, and is erased in release
builds. Read more
Calls .tap_deref() only in debug builds, and is erased in release
builds. Read more
pub fn vzip(self) -> V