pub struct Namespaces<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Namespaces<'a>
impl<'a> Namespaces<'a>
pub fn new(inner_http_client: &'a InnerHttpClient) -> Self
pub async fn create_namespace( &self, tenant: &str, namespace: &str, ) -> Result<(), Box<dyn Error>>
pub async fn delete_namespace( &self, tenant: &str, namespace: &str, ) -> Result<(), Box<dyn Error>>
pub async fn list_namespaces( &self, tenant: &str, ) -> Result<Vec<String>, Box<dyn Error>>
Auto Trait Implementations§
impl<'a> Freeze for Namespaces<'a>
impl<'a> !RefUnwindSafe for Namespaces<'a>
impl<'a> Send for Namespaces<'a>
impl<'a> Sync for Namespaces<'a>
impl<'a> Unpin for Namespaces<'a>
impl<'a> !UnwindSafe for Namespaces<'a>
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