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§
Object Safety§
This trait is not object safe.