pub fn new() -> Self {
        let (sender, receiver) = mpsc::channel(MAX_CONCURRENT_PROCEDURES);
        Self {
            connection: None,
            state: SlcState::default(),
            procedures: HashMap::new(),
            requests_pending_initialization: VecDeque::new(),
            sender,
            receiver,
            unparsed_bytes: DeserializeBytes::new(),
            unprocessed_slc_requests: VecDeque::new(),
            // Timeout is set to `None` until explicitly assigned.
            initialization_timeout: None,
            inspect: ServiceLevelConnectionInspect::default(),
        }
    }
/// Create a new, unconnected `ServiceLevelConnection`.
Create a new, unconnected `ServiceLevelConnection`.
Create a new unconnected ` ServiceLevelConnection ` .
pub fn new() -> Self {
        let (sender, receiver) = mpsc::channel(MAX_CONCURRENT_PROCEDURES);
        Self {
            connection: None,
            state: SlcState::default(),
            procedures: HashMap::new(),
            requests_pending_initialization: VecDeque::new(),
            sender,
            receiver,
            unparsed_bytes: DeserializeBytes::new(),
            unprocessed_slc_requests: VecDeque::new(),
            // Timeout is set to `None` until explicitly assigned.
            initialization_timeout: None,
            inspect: ServiceLevelConnectionInspect::default(),
        }
    }
pub fn new ( ) -> Self { let ( sender , receiver ) = mpsc :: channel ( MAX_CONCURRENT_PROCEDURES ) ; Self { connection : None , state : SlcState :: default ( ) , procedures : HashMap :: new ( ) , requests_pending_initialization : VecDeque :: new ( ) , sender , receiver , unparsed_bytes : DeserializeBytes :: new ( ) , unprocessed_slc_requests : VecDeque :: new ( ) , // Timeout is set to `None` until explicitly assigned. initialization_timeout : None , inspect : ServiceLevelConnectionInspect :: default ( ) , } }
Create a new, unconnected `ServiceLevelConnection`.
Create a new unconnected ` ServiceLevelConnection ` .