pub struct NotificationCarrier { /* private fields */ }Expand description
Opaque outer fields survive without assigning semantics to unnamed slots.
These fields and the forwarded bytes can contain private call information;
none of the data-bearing notification types implement Debug.
Implementations§
Source§impl NotificationCarrier
impl NotificationCarrier
pub fn decode(kind: CarrierKind, input: &[u8]) -> Result<Self>
pub fn kind(&self) -> CarrierKind
pub fn fields(&self) -> &[Field]
Sourcepub fn conference_bytes(&self) -> Result<&[u8]>
pub fn conference_bytes(&self) -> Result<&[u8]>
Invite forwards outer field 6; cancellation forwards outer field 2. Returning these bytes is not permission to submit or consume a control.
pub fn conference_notification(&self) -> Result<ConferenceNotification>
Auto Trait Implementations§
impl Freeze for NotificationCarrier
impl RefUnwindSafe for NotificationCarrier
impl Send for NotificationCarrier
impl Sync for NotificationCarrier
impl Unpin for NotificationCarrier
impl UnsafeUnpin for NotificationCarrier
impl UnwindSafe for NotificationCarrier
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