fidl_fuchsia_hardware_block_encrypted

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§

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

Source§

type FormatResponseFut = QueryResponseFut<i32>

Source§

type UnsealResponseFut = QueryResponseFut<i32>

Source§

type SealResponseFut = QueryResponseFut<i32>

Source§

type ShredResponseFut = QueryResponseFut<i32>