FullXmtpApiT

Trait FullXmtpApiT 

Source
pub trait FullXmtpApiT<Err>
where Self: XmtpMlsClient<Error = Err> + XmtpIdentityClient<Error = Err> + XmtpMlsStreams<Error = Err, WelcomeMessageStream = BoxedWelcomeS<Err>, GroupMessageStream = BoxedGroupS<Err>> + IsConnectedCheck + XmtpQuery<Error = Err> + 'static,
{ }
Expand description

Trait combining all other api traits into one Used for describing the entire XmtpApi from the client perspective in a single dyn Trait or otherwise requiring the full capabilities of the API. Requiring the full capabilities outside of a dyn should generally be avoided unless the consumer wants to be unnecessarily general/restrictive.

Implementors§

Source§

impl<T, Err> FullXmtpApiT<Err> for T
where T: XmtpMlsClient<Error = Err> + XmtpIdentityClient<Error = Err> + XmtpMlsStreams<Error = Err, WelcomeMessageStream = BoxedWelcomeS<Err>, GroupMessageStream = BoxedGroupS<Err>> + IsConnectedCheck + XmtpQuery<Error = Err> + ?Sized + 'static,