pub enum Rule {
DispatchRuleDirect(SipDispatchRuleDirect),
DispatchRuleIndividual(SipDispatchRuleIndividual),
DispatchRuleCallee(SipDispatchRuleCallee),
}
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.
DispatchRuleCallee(SipDispatchRuleCallee)
SIPDispatchRuleCallee is a SIP Dispatch Rule
that creates a new room for each callee.
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§
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