pub trait WebSocketConnectionPermit:
Debug
+ Send
+ Sync {
// Required method
fn id(&self) -> Uuid;
}Expand description
An opaque connection reservation owned by an admission provider.
The server retains this value for the lifetime of the connection. Dropping it must release any reservation held by the provider.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".