Skip to main content

DriverDeviceServerHandler

Trait DriverDeviceServerHandler 

Source
pub trait DriverDeviceServerHandler<___T: Transport = DriverChannel> {
    // Required methods
    fn program_key_slot(
        &mut self,
        request: Request<ProgramKeySlot, ___T>,
        responder: Responder<ProgramKeySlot, ___T>,
    ) -> impl Future<Output = ()> + Send;
    fn derive_raw_secret(
        &mut self,
        request: Request<DeriveRawSecret, ___T>,
        responder: Responder<DeriveRawSecret, ___T>,
    ) -> impl Future<Output = ()> + Send;
}
Expand description

A server handler for the DriverDevice protocol.

See DriverDevice for more details.

Required Methods§

Source

fn program_key_slot( &mut self, request: Request<ProgramKeySlot, ___T>, responder: Responder<ProgramKeySlot, ___T>, ) -> impl Future<Output = ()> + Send

Source

fn derive_raw_secret( &mut self, request: Request<DeriveRawSecret, ___T>, responder: Responder<DeriveRawSecret, ___T>, ) -> impl Future<Output = ()> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§