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§

source

type FormatResponseFut: Future<Output = Result<i32, Error>> + Send

source

type UnsealResponseFut: Future<Output = Result<i32, Error>> + Send

source

type SealResponseFut: Future<Output = Result<i32, Error>> + Send

source

type ShredResponseFut: Future<Output = Result<i32, Error>> + Send

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§

source§

impl DeviceManagerProxyInterface for DeviceManagerProxy

§

type FormatResponseFut = QueryResponseFut<i32>

§

type UnsealResponseFut = QueryResponseFut<i32>

§

type SealResponseFut = QueryResponseFut<i32>

§

type ShredResponseFut = QueryResponseFut<i32>