refactor(server::{user_agent, client}): move auth part to separate function to not to pollute actor session with one-time concerns

This commit is contained in:
hdbg
2026-03-01 19:59:42 +01:00
parent 657f47e32f
commit 54d0fe0505
18 changed files with 1176 additions and 975 deletions

View File

@@ -79,8 +79,9 @@ use std::marker::PhantomData;
use async_trait::async_trait;
/// Errors returned by transport adapters implementing [`Bi`].
#[derive(thiserror::Error, Debug)]
pub enum Error {
/// The outbound side of the transport is no longer accepting messages.
#[error("Transport channel is closed")]
ChannelClosed,
}