Enum ruma_signatures::Verified [−][src]
pub enum Verified { All, Signatures, }
Expand description
A value returned when an event is successfully verified.
Event verification involves verifying both signatures and a content hash. It is possible for the signatures on an event to be valid, but for the hash to be different than the one calculated during verification. This is not necessarily an error condition, as it may indicate that the event has been redacted. In this case, receiving homeservers should store a redacted version of the event.
Variants
All signatures are valid and the content hashes match.
All signatures are valid but the content hashes don’t match.
This may indicate a redacted event.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Verified
impl UnwindSafe for Verified
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V