pub trait SessionJoinString<'de>: Decode<'de> + Encode {
    fn scheme() -> &'static str;

    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

The scheme / name for this SJS implementation.

This is advertised as the first component in the encoded SJS.

Provided Methods

Obtain the raw bytes constituting the session join string.

Implementors