Skip to main content

ClientState

Trait ClientState 

Source
pub trait ClientState: Sealed + TryFrom<ClientContext, Error = Error> { }
Expand description

Marker trait implemented by the five client-state types in this module.

Sealed: the auth/lock matrix is a closed enumeration; new states should be added here, not in downstream code.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§