pub enum Termination {
Show 13 variants
NoInitialNotify,
LocalExpiry,
LocalCSeqExhausted,
InvalidExpiry,
MalformedResponse,
IntervalRejected,
AuthenticationExhausted,
Rejected(u16),
TransactionFailed,
UnsupportedRouteTransport,
Remote(Option<Reason>),
UnsubscribeUnconfirmed(Box<Termination>),
Shutdown,
}Expand description
Typed terminal outcome.
Variants§
NoInitialNotify
Timer N fired before the required NOTIFY.
LocalExpiry
The finite expiry fired locally.
LocalCSeqExhausted
A local request sequence could not be incremented safely.
InvalidExpiry
A successful response carried an invalid interval.
MalformedResponse
A successful response did not identify the selected dialog.
IntervalRejected
A 423 could not be followed safely.
AuthenticationExhausted
Authentication could not be completed under the configured bound.
Rejected(u16)
A final response rejected the logical operation.
TransactionFailed
The transaction ended without a final response.
UnsupportedRouteTransport
A route URI selected no safe supported transport.
Remote(Option<Reason>)
The notifier supplied a terminal framework reason.
UnsubscribeUnconfirmed(Box<Termination>)
Unsubscribe ended without peer confirmation.
Shutdown
The global shutdown deadline released the usage.
Trait Implementations§
Source§impl Clone for Termination
impl Clone for Termination
Source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
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 Termination
impl Debug for Termination
Source§impl PartialEq for Termination
impl PartialEq for Termination
Source§fn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations§
impl Freeze for Termination
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnsafeUnpin for Termination
impl UnwindSafe for Termination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more