pub trait DelegateChatStore: JmapBackend {
type Target: ChatStore<CallerCtx = Self::CallerCtx, Error = Self::Error>;
// Required method
fn chat_store(&self) -> &Self::Target;
}Expand description
Forward every ChatStore method to chat_store’s target.
Implement this instead of ChatStore; a type implements one or the other, never both.
Required Associated Types§
Required Methods§
Sourcefn chat_store(&self) -> &Self::Target
fn chat_store(&self) -> &Self::Target
The target, usually the wrapped backend.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".