Skip to main content

DelegateChatResolvers

Trait DelegateChatResolvers 

Source
pub trait DelegateChatResolvers: JmapBackend {
    type Target: ChatResolvers<CallerCtx = Self::CallerCtx, Error = Self::Error>;

    // Required method
    fn chat_resolvers(&self) -> &Self::Target;
}
Expand description

Forward every ChatResolvers method to chat_resolvers’s target.

Implement this instead of ChatResolvers; a type implements one or the other, never both.

Required Associated Types§

Source

type Target: ChatResolvers<CallerCtx = Self::CallerCtx, Error = Self::Error>

The backend that answers the ChatResolvers methods.

Required Methods§

Source

fn chat_resolvers(&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".

Implementors§