Struct NamespaceApiClient

Source
pub struct NamespaceApiClient<C: Connect> { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl<C: Connect + 'static> NamespaceApi for NamespaceApiClient<C>

Source§

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>>

Source§

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>>

Source§

fn create_access_point( &self, access_point_name: &str, access_point: AccessPointCreateParams, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

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>>

Source§

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>>

Source§

fn delete_access_point( &self, access_point_name: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn delete_directory( &self, directory_path: &str, recursive: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn delete_file( &self, file_path: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn get_acl( &self, namespace_path: &str, acl: bool, nsaccess: bool, ) -> Box<dyn Future<Item = NamespaceAcl, Error = Error>>

Source§

fn get_directory_attributes( &self, directory_path: &str, if_modified_since: &str, if_unmodified_since: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

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>>

Source§

fn get_directory_metadata( &self, directory_metadata_path: &str, metadata: bool, ) -> Box<dyn Future<Item = NamespaceMetadataList, Error = Error>>

Source§

fn get_file_attributes( &self, file_path: &str, if_modified_since: &str, if_unmodified_since: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

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>>

Source§

fn get_file_metadata( &self, file_metadata_path: &str, metadata: bool, ) -> Box<dyn Future<Item = NamespaceMetadataList, Error = Error>>

Source§

fn get_worm_properties( &self, worm_file_path: &str, worm: bool, ) -> Box<dyn Future<Item = WormProperties, Error = Error>>

Source§

fn list_access_points( &self, versions: bool, ) -> Box<dyn Future<Item = NamespaceAccessPoints, Error = Error>>

Source§

fn move_directory( &self, directory_path: &str, x_isi_ifs_set_location: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn move_file( &self, file_path: &str, x_isi_ifs_set_location: &str, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

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>>

Source§

fn set_acl( &self, namespace_path: &str, acl: bool, namespace_acl: NamespaceAcl, nsaccess: bool, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn set_directory_metadata( &self, directory_metadata_path: &str, metadata: bool, directory_metadata: NamespaceMetadata, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn set_file_metadata( &self, file_metadata_path: &str, metadata: bool, file_metadata: NamespaceMetadata, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Source§

fn set_worm_properties( &self, worm_file_path: &str, worm: bool, worm_properties: WormCreateParams, ) -> Box<dyn Future<Item = Empty, Error = Error>>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Err = <U as TryFrom<T>>::Err

Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

Source§

impl<T> ErasedDestructor for T
where T: 'static,