Struct bonsaidb::server::ConnectedClient [−][src]
Expand description
A connected database client.
Implementations
Returns the address of the connected client.
Sends a custom API response to the client.
Returns a locked reference to the stored client data.
Looks up an active authentication session by its unique id. None
represents the unauthenticated session, and the result can be used to
check what permissions are allowed by default.
Sets the associated data for this client.
Trait Implementations
Auto Trait Implementations
impl<B = NoBackend> !RefUnwindSafe for ConnectedClient<B>
impl<B> Send for ConnectedClient<B>
impl<B> Sync for ConnectedClient<B>
impl<B> Unpin for ConnectedClient<B>
impl<B = NoBackend> !UnwindSafe for ConnectedClient<B>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more