Skip to main content

Authorities

Trait Authorities 

Source
pub trait Authorities<'document> {
    type Error;

    // Required method
    fn select<'a, W: Work>(
        &'a self,
        index: usize,
        stamp: &'a ArchiveTimeStamp<'document>,
        work: &W,
    ) -> Result<Selection<'a>, Self::Error>
       where 'document: 'a;
}
Expand description

Caller selection; the ERS mechanism executes the check on the actual token.

Required Associated Types§

Source

type Error

Original selection/provider-policy refusal.

Required Methods§

Source

fn select<'a, W: Work>( &'a self, index: usize, stamp: &'a ArchiveTimeStamp<'document>, work: &W, ) -> Result<Selection<'a>, Self::Error>
where 'document: 'a,

Selects a candidate for this exact original timestamp ordinal.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§