DeviceManagerProxyInterface

Trait DeviceManagerProxyInterface 

Source
pub trait DeviceManagerProxyInterface: Send + Sync {
    type FormatResponseFut: Future<Output = Result<i32, Error>> + Send;
    type UnsealResponseFut: Future<Output = Result<i32, Error>> + Send;
    type SealResponseFut: Future<Output = Result<i32, Error>> + Send;
    type ShredResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required methods
    fn format(&self, key: &[u8], slot: u8) -> Self::FormatResponseFut;
    fn unseal(&self, key: &[u8], slot: u8) -> Self::UnsealResponseFut;
    fn seal(&self) -> Self::SealResponseFut;
    fn shred(&self) -> Self::ShredResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn format(&self, key: &[u8], slot: u8) -> Self::FormatResponseFut

Source

fn unseal(&self, key: &[u8], slot: u8) -> Self::UnsealResponseFut

Source

fn seal(&self) -> Self::SealResponseFut

Source

fn shred(&self) -> Self::ShredResponseFut

Implementors§