pub enum Reliability {
Forbidden,
Permitted,
Required,
Refuse,
}Expand description
What a UAS must do about reliability for an incoming request.
Variants§
Forbidden
The peer said nothing about 100rel. §3: the UAS “MUST NOT send the provisional response
reliably” — a peer that has not asked for RSeq will not send PRACK, and the response
would be retransmitted for 32 seconds and then fail the invitation.
Permitted
The peer supports it. Reliable provisionals are allowed, not required.
Required
The peer put it in Require. Provisionals must be reliable.
Refuse
The peer requires it and this side will not: refuse with 420 Bad Extension and an
Unsupported: 100rel (§3).
Trait Implementations§
Source§impl Clone for Reliability
impl Clone for Reliability
Source§fn clone(&self) -> Reliability
fn clone(&self) -> Reliability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Reliability
impl Debug for Reliability
Source§impl PartialEq for Reliability
impl PartialEq for Reliability
Source§fn eq(&self, other: &Reliability) -> bool
fn eq(&self, other: &Reliability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Reliability
impl Eq for Reliability
impl StructuralPartialEq for Reliability
Auto Trait Implementations§
impl Freeze for Reliability
impl RefUnwindSafe for Reliability
impl Send for Reliability
impl Sync for Reliability
impl Unpin for Reliability
impl UnsafeUnpin for Reliability
impl UnwindSafe for Reliability
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