pub fn create_and_initialize_slc(state: SlcState) -> (ServiceLevelConnection, Channel) {
        let mut connection = ServiceLevelConnection::new();
        let (local, remote) = Channel::create();
        connection.initialize_at_state(local, state);
        (connection, remote)
    }
/// Builds and returns a service level connection that is connected and initialized with
/// the provided `state`.
/// Returns the SLC and the remote end of the channel.
Builds and returns a service level connection that is connected and initialized with
the provided `state`.
Returns the SLC and the remote end of the channel.
Builds and returns a service level connection that is connected and initialized with the provided ` state ` . Returns the SLC and the remote end of the channel .
pub fn create_and_initialize_slc(state: SlcState) -> (ServiceLevelConnection, Channel) {
        let mut connection = ServiceLevelConnection::new();
        let (local, remote) = Channel::create();
        connection.initialize_at_state(local, state);
        (connection, remote)
    }
pub fn create_and_initialize_slc ( state : SlcState ) -> ( ServiceLevelConnection , Channel ) { let mut connection = ServiceLevelConnection :: new ( ) ; let ( local , remote ) = Channel :: create ( ) ; connection . initialize_at_state ( local , state ) ; ( connection , remote ) }
Builds and returns a service level connection that is connected and initialized with
the provided `state`.
Builds and returns a service level connection that is connected and initialized with the provided ` state ` .
state
SlcState
state
SlcState