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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user