/// Create a new HUP message for a given session ID and error code.
Create a new HUP message for a given session ID and error code.
Create a new HUP message for a given session ID and error code .
fn new(session_id: u32, error_code: u32) -> HupMessage {
        HupMessage {
            session_id: session_id & ((1 << 24) - 1),
            error_code: error_code
        }
    }
fn new ( session_id : u32 , error_code : u32 ) -> HupMessage { HupMessage { session_id : session_id & ( ( 1 << 24 ) - 1 ) , error_code : error_code } }
Create a new HUP message for a given session ID and error code.
Create a new HUP message for a given session ID and error code .
session_id
u32
error_code
u32