pub trait SessionJoinString<'de>: CborDecode<'de, ()> + CborEncode<()> {
// Required method
fn scheme() -> &'static str;
// Provided method
fn to_bytes(&self) -> Result<Vec<u8>, RemoteSignError> { ... }
}
Expand description
Common behaviors for a session join string.
Implementations must also implement Encode, which will emit the CBOR encoding of the instance to an encoder.
Required Methods§
Provided Methods§
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.