pub struct HFBucketSync { /* private fields */ }blocking only.Expand description
Synchronous/blocking counterpart to crate::buckets::HFBucket.
Wraps an crate::buckets::HFBucket and blocks on the corresponding async
methods.
See crate::buckets::HFBucket for method semantics.
Implementations§
Source§impl HFBucketSync
impl HFBucketSync
Source§impl HFBucketSync
impl HFBucketSync
Sourcepub fn sync<'f1>(&'f1 self) -> HFBucketSyncSyncBuilder<'f1>
Available on non-target_family=wasm only.
pub fn sync<'f1>(&'f1 self) -> HFBucketSyncSyncBuilder<'f1>
target_family=wasm only.Blocking counterpart of HFBucket::sync. See the async method for parameters and
behavior.
Source§impl HFBucketSync
impl HFBucketSync
Sourcepub fn info<'f1>(&'f1 self) -> HFBucketSyncInfoBuilder<'f1>
pub fn info<'f1>(&'f1 self) -> HFBucketSyncInfoBuilder<'f1>
Blocking counterpart of HFBucket::info.
Sourcepub fn list_tree<'f1>(&'f1 self) -> HFBucketSyncListTreeBuilder<'f1>
pub fn list_tree<'f1>(&'f1 self) -> HFBucketSyncListTreeBuilder<'f1>
Blocking counterpart of HFBucket::list_tree. Collects the stream into a
Vec<BucketTreeEntry>. See the async method for parameters and behavior.
Sourcepub fn get_paths_info<'f1>(&'f1 self) -> HFBucketSyncGetPathsInfoBuilder<'f1>
pub fn get_paths_info<'f1>(&'f1 self) -> HFBucketSyncGetPathsInfoBuilder<'f1>
Blocking counterpart of HFBucket::get_paths_info. See the async method for parameters
and behavior.
Sourcepub fn get_file_metadata<'f1>(
&'f1 self,
) -> HFBucketSyncGetFileMetadataBuilder<'f1>
pub fn get_file_metadata<'f1>( &'f1 self, ) -> HFBucketSyncGetFileMetadataBuilder<'f1>
Blocking counterpart of HFBucket::get_file_metadata. See the async method for parameters
and behavior.
Sourcepub fn batch_operations<'f1>(
&'f1 self,
) -> HFBucketSyncBatchOperationsBuilder<'f1>
pub fn batch_operations<'f1>( &'f1 self, ) -> HFBucketSyncBatchOperationsBuilder<'f1>
Blocking counterpart of HFBucket::batch_operations. See the async method for parameters and
behavior.
Sourcepub fn delete_files<'f1>(&'f1 self) -> HFBucketSyncDeleteFilesBuilder<'f1>
pub fn delete_files<'f1>(&'f1 self) -> HFBucketSyncDeleteFilesBuilder<'f1>
Blocking counterpart of HFBucket::delete_files. See the async method for parameters
and behavior.
Sourcepub fn upload_source_files<'f1>(
&'f1 self,
) -> HFBucketSyncUploadSourceFilesBuilder<'f1>
pub fn upload_source_files<'f1>( &'f1 self, ) -> HFBucketSyncUploadSourceFilesBuilder<'f1>
Blocking counterpart of HFBucket::upload_source_files. See the async method for
parameters and behavior.
Sourcepub fn upload_files<'f1>(&'f1 self) -> HFBucketSyncUploadFilesBuilder<'f1>
pub fn upload_files<'f1>(&'f1 self) -> HFBucketSyncUploadFilesBuilder<'f1>
Blocking counterpart of HFBucket::upload_files. See the async method for parameters
and behavior.
Sourcepub fn download_files<'f1>(&'f1 self) -> HFBucketSyncDownloadFilesBuilder<'f1>
pub fn download_files<'f1>(&'f1 self) -> HFBucketSyncDownloadFilesBuilder<'f1>
Blocking counterpart of HFBucket::download_files. See the async method for parameters
and behavior.
Trait Implementations§
Source§impl Clone for HFBucketSync
impl Clone for HFBucketSync
Source§fn clone(&self) -> HFBucketSync
fn clone(&self) -> HFBucketSync
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HFBucketSync
impl !UnwindSafe for HFBucketSync
impl Freeze for HFBucketSync
impl Send for HFBucketSync
impl Sync for HFBucketSync
impl Unpin for HFBucketSync
impl UnsafeUnpin for HFBucketSync
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more