pub struct SetGroupChannel<'decoder> {
pub group_channel_id: u32,
pub channel_ids: Seq064K<'decoder, u32>,
}Expand description
Message used by upstream to associate a set of Standard Channel(s) to a Group Channel.
A channel becomes a group channel when it is used by this message as
SetGroupChannel::group_channel_id.
Every standard channel is a member of a group of standard channels, addressed by the upstream server’s provided identifier. The group channel is used mainly for efficient job distribution to multiple standard channels at once.
The upstream must ensure that a group channel has a unique channel ID within one connection.
Channel reinterpretation is not allowed.
This message can be sent only to connections that didnt set REQUIRES_STANDARD_JOBS flag in
SetupConnection message.
Fields§
§group_channel_id: u32Identifier of the group where the standard channel belongs.
channel_ids: Seq064K<'decoder, u32>A sequence of opened standard channel IDs, for which the group channel is being redefined.
Implementations§
Source§impl<'decoder> SetGroupChannel<'decoder>
impl<'decoder> SetGroupChannel<'decoder>
pub fn into_static(self) -> SetGroupChannel<'static>
Source§impl<'decoder> SetGroupChannel<'decoder>
impl<'decoder> SetGroupChannel<'decoder>
pub fn as_static(&self) -> SetGroupChannel<'static>
Trait Implementations§
Source§impl<'decoder> Clone for SetGroupChannel<'decoder>
impl<'decoder> Clone for SetGroupChannel<'decoder>
Source§fn clone(&self) -> SetGroupChannel<'decoder>
fn clone(&self) -> SetGroupChannel<'decoder>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more