Trait safe_network::messaging::VerifyAuthority [−][src]
pub trait VerifyAuthority: Sized + Sealed { fn verify_authority(self, payload: impl AsRef<[u8]>) -> Result<Self>; }
Expand description
Verify authority.
This trait drives the verification logic used by [Authority
].
Note: this trait is ‘sealed’, and as such cannot be implemented outside of this crate.
Required methods
Verify that we represent authority for payload
.