Skip to main content

RegistrationHandlerTrait

Trait RegistrationHandlerTrait 

Source
pub trait RegistrationHandlerTrait: Send + Sync {
    // Required method
    fn process_registration(
        &self,
        request: RegistrationRequest,
    ) -> Result<RegistrationResponse, String>;
}
Expand description

Trait for handling agent registration Implemented by feagi-io::RegistrationHandler

Required Methods§

Source

fn process_registration( &self, request: RegistrationRequest, ) -> Result<RegistrationResponse, String>

Process a registration request

Implementors§