#[non_exhaustive]pub enum SipCallSlotsParam {
Show 13 variants
SlotId,
State,
Uuid,
Address,
Quality,
Jitter,
Bitrate,
PacketLoss,
Disconnect,
Extend,
IsHost,
Mode,
Other(String),
}Expand description
A per-slot SIP call parameter: one of the twelve flat properties the
device carries on each SIPCALLSLOTS node (three consecutive slots
at root). Statistics (Quality, Jitter, Bitrate, PacketLoss)
are device-managed. Disconnect is a Binary command channel
(same request-pulse pattern as mixLinkRequest); Extend is a
bool command. Identity/state fields (SlotId, State, UUID,
Address, IsHost, Mode) reflect the call’s current status.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SlotId
State
Uuid
Address
Quality
Jitter
Bitrate
PacketLoss
Disconnect
Extend
IsHost
Mode
Other(String)
A property without a typed SipCallSlotsParam identifier yet. Holds the raw wire name; the value still rides in the carrying event/command.
Implementations§
Source§impl SipCallSlotsParam
impl SipCallSlotsParam
Sourcepub fn from_known_name(name: &str) -> Option<SipCallSlotsParam>
pub fn from_known_name(name: &str) -> Option<SipCallSlotsParam>
Map a wire property name to its typed SipCallSlotsParam variant if known, without allocating.
Sourcepub fn is_known_name(name: &str) -> bool
pub fn is_known_name(name: &str) -> bool
Check if a wire property name matches a known SipCallSlotsParam variant without allocating.
Sourcepub fn from_name(name: &str) -> SipCallSlotsParam
pub fn from_name(name: &str) -> SipCallSlotsParam
Map a wire property name to its typed SipCallSlotsParam variant. Unknown names map to SipCallSlotsParam::Other, so this is total (never fails).
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
The wire property name for this parameter (inverse of SipCallSlotsParam::from_name).
Sourcepub fn is_known(&self) -> bool
pub fn is_known(&self) -> bool
true if this is a typed variant (not SipCallSlotsParam::Other).