ActionHandler

Trait ActionHandler 

Source
pub trait ActionHandler {
    // Required method
    fn handle<T: RepositoryFactory>(
        &self,
        action: TcpClientAction,
        repository_factory: &T,
    ) -> Result<(), ActionHandlerError>;
}

Required Methods§

Source

fn handle<T: RepositoryFactory>( &self, action: TcpClientAction, repository_factory: &T, ) -> Result<(), ActionHandlerError>

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§