You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: traits.rs
    path of file: ./repos/mmb/core/src/exchanges
    
    the code of the file until where you have to start completion: use super::{
    general::handlers::handle_order_filled::FillEvent,
    general::order::get_order_trades::OrderTrade,
    timeouts::requests_timeout_manager_factory::RequestTimeoutArguments,
};
use crate::connectivity::WebSocketRole;
use crate::exchanges::general::exchange::BoxExchangeClient;
use crate::exchanges::general::exchange::{Exchange, RequestResult};
use crate::exchanges::general::features::ExchangeFeatures;
use crate::exchanges::general::order::cancel::CancelOrderResult;
use crate::exchanges::general::order::create::CreateOrderResult;
use crate::exchanges::timeouts::timeout_manager::TimeoutManager;
use crate::lifecycle::app_lifetime_manager::AppLifetimeManager;
use crate::settings::ExchangeSettings;
use anyhow::Result;
use async_trait::async_trait;
use dashmap::DashMap;
use mmb_domain::events::{EventSourceType, ExchangeBalancesAndPositions, MetricsEventInfo};
use mmb_domain::events::{ExchangeEvent, Trade};
use mmb_domain::exchanges::symbol::{BeforeAfter, Symbol};
use mmb_domain::market::CurrencyId;
use mmb_domain::market::{
    CurrencyCode, CurrencyPair, ExchangeAccountId, ExchangeErrorType, ExchangeId,
    SpecificCurrencyPair,
};
use mmb_domain::order::pool::{OrderRef, OrdersPool};
use mmb_domain::order::snapshot::Price;
use mmb_domain::order::snapshot::{
    ClientOrderId, ExchangeOrderId, OrderInfo, OrderInfoExtensio
    
    async fn initialized(&self, _exchange: Arc<Exchange>) {}

    fn on_websocket_message(&self, msg: &str) -> Result<()>;
    fn on_connecting(&self) -> Result<()>;
    fn on_connected(&self) -> Result<()>;
    fn on_disconnected(&self) -> Result<()>;
    fn set_send_websocket_message_callback(&mut self, callback: SendWebsocketMessageCb);

    fn set_order_created_callback(&mut self, callback: OrderCreatedCb);

    fn set_order_cancelled_callback(&mut self, callback: OrderCancelledCb);

    fn set_handle_order_filled_callback(&mut self, callback: HandleOrderFilledCb);

    fn set_handle_trade_callback(&mut self, callback: HandleTradeCb);

    fn set_handle_metrics_callback(&mut self, callback: HandleMetricsCb);

    fn set_traded_specific_currencies(&self, currencies: Vec<SpecificCurrencyPair>);

    fn is_websocket_enabled(&self, role: WebSocketRole) -> bool;

    async fn create_ws_url(&self, role: WebSocketRole) -> Result<Url>;

    fn get_specific_currency_pair(&self, currency_pair: CurrencyPair) -> SpecificCurrencyPair;

    fn get_supported_currencies(&self) -> &DashMap<CurrencyId, CurrencyCode>;

    fn should_log_message(&self, message: &str) -> bool;

    fn log_unknown_message(&self, exchange_account_id: ExchangeAccountId, message: &str) {
        log::info!("Unknown message for {exchange_account_id}: {message}");
    }

    fn get_balance_reservation_currency_code(
        &self,
        symbol: Arc<Symbol>,
        side: OrderSide,
    ) -> CurrencyCode {
        symbol.get_trade_code(side, BeforeAfter::Before)
    }

    fn get_settings(&self) -> &ExchangeSettings;

    fn get_initial_extension_data(&self) -> Option<Box<dyn OrderInfoExtensionData>> {
        None
    }
}