Enum livekit_protocol::sip_dispatch_rule::Rule
source · pub enum Rule {
DispatchRuleDirect(SipDispatchRuleDirect),
DispatchRuleIndividual(SipDispatchRuleIndividual),
}Variants§
DispatchRuleDirect(SipDispatchRuleDirect)
SIPDispatchRuleDirect is a SIP Dispatch Rule that puts a user directly into a room
This places users into an existing room. Optionally you can require a pin before a user can
enter the room
DispatchRuleIndividual(SipDispatchRuleIndividual)
SIPDispatchRuleIndividual is a SIP Dispatch Rule that creates a new room for each caller.
Implementations§
source§impl Rule
impl Rule
sourcepub fn merge<B>(
field: &mut Option<Rule>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<Rule>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Rule
impl PartialEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)