pub enum SubscriptionCause {
Ok,
RouteFailure,
AuthenticationFailure,
Timeout,
TrunkTerminated,
TrunkForbidden,
Throttled,
Unknown(u32),
}Expand description
Result of a phone-book/BLF subscription request.
Variants§
Ok
RouteFailure
AuthenticationFailure
Timeout
TrunkTerminated
TrunkForbidden
Throttled
Unknown(u32)
Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionCause
impl Clone for SubscriptionCause
Source§fn clone(&self) -> SubscriptionCause
fn clone(&self) -> SubscriptionCause
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 moreimpl Copy for SubscriptionCause
Source§impl Debug for SubscriptionCause
impl Debug for SubscriptionCause
impl Eq for SubscriptionCause
Source§impl From<SubscriptionCause> for u32
impl From<SubscriptionCause> for u32
Source§fn from(value: SubscriptionCause) -> Self
fn from(value: SubscriptionCause) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SubscriptionCause
impl From<u32> for SubscriptionCause
Source§impl Hash for SubscriptionCause
impl Hash for SubscriptionCause
Source§impl PartialEq for SubscriptionCause
impl PartialEq for SubscriptionCause
impl StructuralPartialEq for SubscriptionCause
Auto Trait Implementations§
impl Freeze for SubscriptionCause
impl RefUnwindSafe for SubscriptionCause
impl Send for SubscriptionCause
impl Sync for SubscriptionCause
impl Unpin for SubscriptionCause
impl UnsafeUnpin for SubscriptionCause
impl UnwindSafe for SubscriptionCause
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