#[cfg(feature = "client")]
use std::future::Future;
#[cfg(feature = "client")]
use crate::bytes::DynamicByteBuffer;
#[cfg(feature = "client")]
use crate::session::error::SessionControllerError;
#[cfg(feature = "client")]
pub trait SessionManager {
fn send_packet(&self, packet: DynamicByteBuffer, generated: bool) -> impl Future<Output = Result<(), SessionControllerError>> + Send;
#[cfg(feature = "client")]
fn receive_packet(&self) -> impl Future<Output = Result<DynamicByteBuffer, SessionControllerError>> + Send;
}