Trait trust_graph::Storage [−][src]
Associated Types
type Error: StorageError + 'static
[src]
Required methods
fn get(&self, pk: &PK) -> Result<Option<TrustNode>, Self::Error>
[src]
fn insert(&mut self, pk: PK, node: TrustNode) -> Result<(), Self::Error>
[src]
fn get_root_weight(&self, pk: &PK) -> Result<Option<Weight>, Self::Error>
[src]
fn add_root_weight(&mut self, pk: PK, weight: Weight) -> Result<(), Self::Error>
[src]
fn root_keys(&self) -> Result<Vec<PK>, Self::Error>
[src]
fn revoke(&mut self, pk: &PK, revoke: Revoke) -> Result<(), Self::Error>
[src]
fn update_auth(
&mut self,
pk: &PK,
auth: Auth,
issued_for: &PublicKey,
cur_time: Duration
) -> Result<(), Self::Error>
[src]
&mut self,
pk: &PK,
auth: Auth,
issued_for: &PublicKey,
cur_time: Duration
) -> Result<(), Self::Error>