Skip to main content

BoxedXmtpApi

Type Alias BoxedXmtpApi 

Source
pub type BoxedXmtpApi<Error> = Box<dyn BoxableXmtpApi<Error, WelcomeMessageStream = Pin<Box<dyn Stream<Item = Result<WelcomeMessage, Error>> + Send>>, GroupMessageStream = Pin<Box<dyn Stream<Item = Result<GroupMessage, Error>> + Send>>, Error = Error, Error = Error>>;
Expand description

A type-erased version of the Xmtp Api in a Box

Aliased Typeยง

pub struct BoxedXmtpApi<Error>(/* private fields */);