Skip to main content

DriverDeviceLocalServerHandler

Trait DriverDeviceLocalServerHandler 

Source
pub trait DriverDeviceLocalServerHandler<___T: Transport = DriverChannel> {
    // Required methods
    fn program_key_slot(
        &mut self,
        request: Request<ProgramKeySlot, ___T>,
        responder: Responder<ProgramKeySlot, ___T>,
    ) -> impl Future<Output = ()>;
    fn derive_raw_secret(
        &mut self,
        request: Request<DeriveRawSecret, ___T>,
        responder: Responder<DeriveRawSecret, ___T>,
    ) -> impl Future<Output = ()>;
}
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 = ()>

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<___H, ___T> DriverDeviceLocalServerHandler<___T> for Local<___H>
where ___H: DriverDeviceServerHandler<___T>, ___T: Transport,

Source§

async fn program_key_slot( &mut self, request: Request<ProgramKeySlot, ___T>, responder: Responder<ProgramKeySlot, ___T>, )

Source§

async fn derive_raw_secret( &mut self, request: Request<DeriveRawSecret, ___T>, responder: Responder<DeriveRawSecret, ___T>, )

Implementors§