Trait WithUserClient

Source
pub trait WithUserClient<'a, C, D, USER>:
    Debug
    + Send
    + Sync
where C: CosmosClient, D: DatabaseClient<C>, USER: UserClient<C, D>,
{ // Required method fn with_user_client<IntoCowStr>(&'a self, user_name: IntoCowStr) -> USER where IntoCowStr: Into<Cow<'a, str>>; }

Required Methods§

Source

fn with_user_client<IntoCowStr>(&'a self, user_name: IntoCowStr) -> USER
where IntoCowStr: Into<Cow<'a, str>>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, C> WithUserClient<'a, C, DatabaseStruct<'a, C>, UserStruct<'a, C, DatabaseStruct<'a, C>>> for DatabaseStruct<'a, C>
where C: CosmosClient + Clone,