pub fn channel_max(self, channel_max: u16) -> Self {
        ConnectionOptions {
            channel_max,
            ..self
        }
    }
/// Sets the maximum number of channels that can be opened simultaneously on this connection.
/// Setting this value to 0 means to let the server choose. If this value is set to a nonzero
/// value that is different from the server's requested value, the lower of the two will be
/// used.
Sets the maximum number of channels that can be opened simultaneously on this connection.
Setting this value to 0 means to let the server choose. If this value is set to a nonzero
value that is different from the server's requested value, the lower of the two will be
used.
Sets the maximum number of channels that can be opened simultaneously on this connection . Setting this value to 0 means to let the server choose . If this value is set to a nonzero value that is different from the server ' s requested value the lower of the two will be used .
pub fn channel_max(self, channel_max: u16) -> Self {
        ConnectionOptions {
            channel_max,
            ..self
        }
    }
pub fn channel_max ( self , channel_max : u16 ) -> Self { ConnectionOptions { channel_max , .. self } }
Sets the maximum number of channels that can be opened simultaneously on this connection.
Sets the maximum number of channels that can be opened simultaneously on this connection .
self
channel_max
u16
self
channel_max
u16