pub struct NamespaceApiClient<C: Connect> { /* private fields */ }
Implementations§
Source§impl<C: Connect> NamespaceApiClient<C>
impl<C: Connect> NamespaceApiClient<C>
pub fn new(configuration: Rc<Configuration<C>>) -> NamespaceApiClient<C>
Trait Implementations§
Source§impl<C: Connect + 'static> NamespaceApi for NamespaceApiClient<C>
impl<C: Connect + 'static> NamespaceApi for NamespaceApiClient<C>
fn copy_directory( &self, directory_copy_target: &str, x_isi_ifs_copy_source: &str, overwrite: bool, merge: bool, _continue: bool, ) -> Box<dyn Future<Item = CopyErrors, Error = Error>>
fn copy_file( &self, file_copy_target: &str, x_isi_ifs_copy_source: &str, clone: bool, snapshot: &str, overwrite: bool, ) -> Box<dyn Future<Item = CopyErrors, Error = Error>>
fn create_access_point( &self, access_point_name: &str, access_point: AccessPointCreateParams, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn create_directory( &self, directory_path: &str, x_isi_ifs_target_type: &str, x_isi_ifs_access_control: &str, x_isi_ifs_node_pool_name: &str, recursive: bool, overwrite: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn create_file( &self, file_path: &str, x_isi_ifs_target_type: &str, file_contents: &str, x_isi_ifs_access_control: &str, content_encoding: &str, content_type: &str, overwrite: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn delete_access_point( &self, access_point_name: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn delete_directory( &self, directory_path: &str, recursive: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn delete_file( &self, file_path: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn get_acl( &self, namespace_path: &str, acl: bool, nsaccess: bool, ) -> Box<dyn Future<Item = NamespaceAcl, Error = Error>>
fn get_directory_attributes( &self, directory_path: &str, if_modified_since: &str, if_unmodified_since: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn get_directory_contents( &self, directory_path: &str, detail: &str, limit: i32, resume: &str, sort: &str, dir: &str, _type: &str, hidden: bool, ) -> Box<dyn Future<Item = NamespaceObjects, Error = Error>>
fn get_directory_metadata( &self, directory_metadata_path: &str, metadata: bool, ) -> Box<dyn Future<Item = NamespaceMetadataList, Error = Error>>
fn get_file_attributes( &self, file_path: &str, if_modified_since: &str, if_unmodified_since: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn get_file_contents( &self, file_path: &str, range: &str, if_modified_since: &str, if_unmodified_since: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn get_file_metadata( &self, file_metadata_path: &str, metadata: bool, ) -> Box<dyn Future<Item = NamespaceMetadataList, Error = Error>>
fn get_worm_properties( &self, worm_file_path: &str, worm: bool, ) -> Box<dyn Future<Item = WormProperties, Error = Error>>
fn list_access_points( &self, versions: bool, ) -> Box<dyn Future<Item = NamespaceAccessPoints, Error = Error>>
fn move_directory( &self, directory_path: &str, x_isi_ifs_set_location: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn move_file( &self, file_path: &str, x_isi_ifs_set_location: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn query_directory( &self, query_path: &str, query: bool, directory_query: DirectoryQuery, limit: i32, detail: &str, max_depth: i32, ) -> Box<dyn Future<Item = NamespaceObjects, Error = Error>>
fn set_acl( &self, namespace_path: &str, acl: bool, namespace_acl: NamespaceAcl, nsaccess: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn set_directory_metadata( &self, directory_metadata_path: &str, metadata: bool, directory_metadata: NamespaceMetadata, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn set_file_metadata( &self, file_metadata_path: &str, metadata: bool, file_metadata: NamespaceMetadata, ) -> Box<dyn Future<Item = Empty, Error = Error>>
fn set_worm_properties( &self, worm_file_path: &str, worm: bool, worm_properties: WormCreateParams, ) -> Box<dyn Future<Item = Empty, Error = Error>>
Auto Trait Implementations§
impl<C> Freeze for NamespaceApiClient<C>
impl<C> !RefUnwindSafe for NamespaceApiClient<C>
impl<C> !Send for NamespaceApiClient<C>
impl<C> !Sync for NamespaceApiClient<C>
impl<C> Unpin for NamespaceApiClient<C>
impl<C> !UnwindSafe for NamespaceApiClient<C>
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
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>
Converts
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>
Converts
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