Trait IntoDatabaseClient

Source
pub trait IntoDatabaseClient<'a, C, D>:
    Debug
    + Send
    + Sync
where C: CosmosClient, D: DatabaseClient<C>,
{ // Required method fn into_database_client<IntoCowStr>(self, database_name: IntoCowStr) -> D where IntoCowStr: Into<Cow<'a, str>>; }

Required Methods§

Source

fn into_database_client<IntoCowStr>(self, database_name: IntoCowStr) -> D
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, CUB> IntoDatabaseClient<'a, CosmosStruct<'a, CUB>, DatabaseStruct<'a, CosmosStruct<'a, CUB>>> for CosmosStruct<'a, CUB>
where CUB: CosmosUriBuilder + Debug + Clone,