pub trait Subject:
Clone
+ Debug
+ Send
+ Sync {
// Required method
fn namespace_and_message(&self, namespace: &[u8]) -> (Bytes, Bytes);
}Expand description
Identifies the subject of a signature or certificate.
Required Methods§
Sourcefn namespace_and_message(&self, namespace: &[u8]) -> (Bytes, Bytes)
fn namespace_and_message(&self, namespace: &[u8]) -> (Bytes, Bytes)
Returns the namespace and message for the subject, given some base namespace.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.