Skip to main content

ApprovalReader

Trait ApprovalReader 

Source
pub trait ApprovalReader: Send + Sync {
    // Required method
    fn read(
        &self,
        draft: &ApprovedDraft,
    ) -> Result<ApprovalEvidence, DraftError>;
}
Expand description

The approval owner authenticates the actual people and immutable words.

Required Methods§

Source

fn read(&self, draft: &ApprovedDraft) -> Result<ApprovalEvidence, DraftError>

Reads evidence for this exact draft from Lys’s authenticated record.

§Errors

Missing evidence or an issuer/storage refusal.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§