Skip to main content

Admitter

Trait Admitter 

Source
pub trait Admitter { }
Expand description

Implemented by a private type of each package whose job is signing principals in, such as sofie-identity’s: it alone mints the SignInRight that Session::sign_in takes. Code that implements it for a type of its own can sign anyone in, so only such a package should.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§