Trait IntoAttachmentClient

Source
pub trait IntoAttachmentClient<'a, C, D, COLL, DOC, ATT>:
    Debug
    + Send
    + Sync
where C: CosmosClient, D: DatabaseClient<C>, COLL: CollectionClient<C, D>, DOC: DocumentClient<C, D, COLL>, ATT: AttachmentClient<C, D, COLL, DOC>,
{ // Required method fn into_attachment_client<IntoCowStr>( self, attachment_name: IntoCowStr, ) -> ATT where IntoCowStr: Into<Cow<'a, str>>; }

Required Methods§

Source

fn into_attachment_client<IntoCowStr>(self, attachment_name: IntoCowStr) -> ATT
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, 'b, C, D, COLL> IntoAttachmentClient<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>, AttachmentStruct<'a, C, D, COLL, DocumentStruct<'a, 'b, C, D, COLL>>> for DocumentStruct<'a, 'b, C, D, COLL>
where C: CosmosClient + Clone, D: DatabaseClient<C> + Clone, COLL: CollectionClient<C, D> + Clone,