fidl_fuchsia_tpm_cr50Trait PinWeaverProxyInterface
Source pub trait PinWeaverProxyInterface: Send + Sync {
type GetVersionResponseFut: Future<Output = Result<u8, Error>> + Send;
type ResetTreeResponseFut: Future<Output = Result<PinWeaverResetTreeResult, Error>> + Send;
type InsertLeafResponseFut: Future<Output = Result<PinWeaverInsertLeafResult, Error>> + Send;
type RemoveLeafResponseFut: Future<Output = Result<PinWeaverRemoveLeafResult, Error>> + Send;
type TryAuthResponseFut: Future<Output = Result<PinWeaverTryAuthResult, Error>> + Send;
type GetLogResponseFut: Future<Output = Result<PinWeaverGetLogResult, Error>> + Send;
type LogReplayResponseFut: Future<Output = Result<PinWeaverLogReplayResult, Error>> + Send;
// Required methods
fn get_version(&self) -> Self::GetVersionResponseFut;
fn reset_tree(
&self,
bits_per_level: u8,
height: u8,
) -> Self::ResetTreeResponseFut;
fn insert_leaf(
&self,
params: &InsertLeafParams,
) -> Self::InsertLeafResponseFut;
fn remove_leaf(
&self,
params: &RemoveLeafParams,
) -> Self::RemoveLeafResponseFut;
fn try_auth(&self, params: &TryAuthParams) -> Self::TryAuthResponseFut;
fn get_log(&self, root_hash: &[u8; 32]) -> Self::GetLogResponseFut;
fn log_replay(&self, params: &LogReplayParams) -> Self::LogReplayResponseFut;
}