pub struct HttpVfsRegister { /* private fields */ }Implementations§
Source§impl HttpVfsRegister
impl HttpVfsRegister
pub fn new() -> Self
pub fn with_block_size(self, page_num: usize) -> Self
pub fn with_client(self, client: Client) -> Self
Sourcepub fn with_download_threshold(self, page_num: usize) -> Self
pub fn with_download_threshold(self, page_num: usize) -> Self
Set how many page read don’t download full block
pub fn with_page_size(self, page_size: usize) -> Self
pub fn register(self) -> Result<(), RegisterError>
Auto Trait Implementations§
impl Freeze for HttpVfsRegister
impl !RefUnwindSafe for HttpVfsRegister
impl Send for HttpVfsRegister
impl Sync for HttpVfsRegister
impl Unpin for HttpVfsRegister
impl !UnwindSafe for HttpVfsRegister
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more