pub enum ManualVerifications<D: VerificationDirectoryTrait> {
Setup(ManualVerificationsSetup<D>),
Tally(ManualVerificationsTally<D>),
}Expand description
Enum for the manual verifications (for setup oder tally)
Variants§
Setup(ManualVerificationsSetup<D>)
Tally(ManualVerificationsTally<D>)
Implementations§
Source§impl<D: VerificationDirectoryTrait> ManualVerifications<D>
impl<D: VerificationDirectoryTrait> ManualVerifications<D>
Sourcepub fn try_new(
period: VerificationPeriod,
directory: Arc<D>,
config: &'static VerifierConfig,
verifications_status: &HashMap<String, VerificationStatus>,
verifications_with_errors_and_failures: &VerficationsWithErrorAndFailures,
excluded_verifications: &[String],
) -> Result<Self, VerificationError>
pub fn try_new( period: VerificationPeriod, directory: Arc<D>, config: &'static VerifierConfig, verifications_status: &HashMap<String, VerificationStatus>, verifications_with_errors_and_failures: &VerficationsWithErrorAndFailures, excluded_verifications: &[String], ) -> Result<Self, VerificationError>
Create new ManualVerifications
Inputs:
period: Verification perioddirectory: Verification directoryconfig: Verifier configurationverifications_status: The verifications (key is verification id) with the status VerificationStatusverifications_with_errors_and_failures: see VerficationsWithErrorAndFailuresexcluded_verifications: The list of excluded verifications. The vector contains the id of the verifications
It is recommended to deliver in verifications_with_errors_and_failures on the verifications having errors or failures. The verification with success should
not be delivered
Trait Implementations§
Source§impl<D: VerificationDirectoryTrait> ManualVerificationInformationTrait for ManualVerifications<D>
impl<D: VerificationDirectoryTrait> ManualVerificationInformationTrait for ManualVerifications<D>
Source§fn dt_fingerprints_to_key_value(&self) -> Vec<(String, String)>
fn dt_fingerprints_to_key_value(&self) -> Vec<(String, String)>
Get the fingerprints of the direct trust certificates Read more
Source§fn verification_directory_path(&self) -> String
fn verification_directory_path(&self) -> String
Get the verification directory path as string
Source§fn information_to_key_value(&self) -> Vec<(String, String)>
fn information_to_key_value(&self) -> Vec<(String, String)>
Get the various information related to the manuel verifications Read more
Source§fn verification_stati_to_key_value(&self) -> Vec<(String, String)>
fn verification_stati_to_key_value(&self) -> Vec<(String, String)>
Get the stati of the verification Read more
Source§fn verification_errors_and_failures(
&self,
) -> VerificationErrorsFailureInformation
fn verification_errors_and_failures( &self, ) -> VerificationErrorsFailureInformation
Get the errors and failures Read more
Auto Trait Implementations§
impl<D> Freeze for ManualVerifications<D>
impl<D> RefUnwindSafe for ManualVerifications<D>where
D: RefUnwindSafe,
impl<D> Send for ManualVerifications<D>
impl<D> Sync for ManualVerifications<D>
impl<D> Unpin for ManualVerifications<D>
impl<D> UnwindSafe for ManualVerifications<D>where
D: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> StrictAs for T
impl<T> StrictAs for T
Source§fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
Casts the value.
Source§impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
Source§fn strict_cast_from(src: Src) -> Dst
fn strict_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.