Skip to main content

CallEndReason

Struct CallEndReason 

#[repr(transparent)]
pub struct CallEndReason(pub u16);
Expand description

Reason why a call ended (wds_call_end_reason_enum_v01).

The CDMA and HDR reasons are not listed.

Tuple Fields§

§0: u16

Implementations§

§

impl CallEndReason

pub const UNSPECIFIED: Self

Value 0x001.

pub const CLIENT_END: Self

Value 0x002.

pub const NO_SERVICE: Self

Value 0x003.

pub const FADE: Self

Value 0x004.

pub const RELEASE_NORMAL: Self

Value 0x005.

pub const ACCESS_IN_PROGRESS: Self

Value 0x006.

pub const ACCESS_FAILURE: Self

Value 0x007.

pub const REDIRECT_OR_HANDOFF: Self

Value 0x008.

pub const CLOSE_IN_PROGRESS: Self

Value 0x009.

pub const AUTH_FAILED: Self

Value 0x00A.

pub const INTERNAL_CALL_END: Self

Value 0x00B.

pub const CONFERENCE_FAILED: Self

Value 0x3E8.

pub const INCOMING_REJECTED: Self

Value 0x3E9.

pub const NO_GW_SERVICE: Self

Value 0x3EA.

pub const NETWORK_END: Self

Value 0x3EB.

pub const LLC_SNDCP_FAILURE: Self

Value 0x3EC.

pub const INSUFFICIENT_RESOURCES: Self

Value 0x3ED.

pub const OPTION_TEMPORARILY_OUT_OF_ORDER: Self

Value 0x3EE.

pub const NSAPI_ALREADY_USED: Self

Value 0x3EF.

pub const REGULAR_DEACTIVATION: Self

Value 0x3F0.

pub const NETWORK_FAILURE: Self

Value 0x3F1.

pub const UMTS_REATTACH_REQUIRED: Self

Value 0x3F2.

pub const PROTOCOL_ERROR: Self

Value 0x3F3.

pub const OPERATOR_DETERMINED_BARRING: Self

Value 0x3F4.

pub const UNKNOWN_APN: Self

Value 0x3F5.

pub const UNKNOWN_PDP: Self

Value 0x3F6.

pub const GGSN_REJECT: Self

Value 0x3F7.

pub const ACTIVATION_REJECT: Self

Value 0x3F8.

pub const OPTION_NOT_SUPPORTED: Self

Value 0x3F9.

pub const OPTION_UNSUBSCRIBED: Self

Value 0x3FA.

pub const QOS_NOT_ACCEPTED: Self

Value 0x3FB.

pub const TFT_SEMANTIC_ERROR: Self

Value 0x3FC.

pub const TFT_SYNTAX_ERROR: Self

Value 0x3FD.

pub const UNKNOWN_PDP_CONTEXT: Self

Value 0x3FE.

pub const FILTER_SEMANTIC_ERROR: Self

Value 0x3FF.

pub const FILTER_SYNTAX_ERROR: Self

Value 0x400.

pub const PDP_WITHOUT_ACTIVE_TFT: Self

Value 0x401.

pub const INVALID_TRANSACTION_ID: Self

Value 0x402.

pub const MESSAGE_INCORRECT_SEMANTIC: Self

Value 0x403.

pub const INVALID_MANDATORY_INFO: Self

Value 0x404.

pub const MESSAGE_TYPE_UNSUPPORTED: Self

Value 0x405.

pub const MESSAGE_TYPE_NONCOMPATIBLE_STATE: Self

Value 0x406.

pub const UNKNOWN_INFO_ELEMENT: Self

Value 0x407.

pub const CONDITIONAL_IE_ERROR: Self

Value 0x408.

pub const MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE: Self

Value 0x409.

pub const APN_TYPE_CONFLICT: Self

Value 0x40A.

pub const NO_GPRS_CONTEXT: Self

Value 0x40B.

pub const FEATURE_NOT_SUPPORTED: Self

Value 0x40C.

pub const fn name(self) -> Option<&'static str>

Returns the name of the value, or None if it is unknown.

Trait Implementations§

§

impl Clone for CallEndReason

§

fn clone(&self) -> CallEndReason

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for CallEndReason

§

impl Debug for CallEndReason

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Decode for CallEndReason

§

fn decode(reader: &mut Reader) -> Result<Self, ValueError>

Reads a value. Read more
§

impl Encode for CallEndReason

§

fn encode<B: BufMut + ?Sized>(&self, out: &mut B)

Appends the encoded value to out.
§

impl Eq for CallEndReason

§

impl From<CallEndReason> for u16

§

fn from(value: CallEndReason) -> Self

Converts to this type from the input type.
§

impl From<u16> for CallEndReason

§

fn from(value: u16) -> Self

Converts to this type from the input type.
§

impl Hash for CallEndReason

§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for CallEndReason

§

fn eq(&self, other: &CallEndReason) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl StructuralPartialEq for CallEndReason

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more