pub enum CodeKind {
Provisional,
Success,
Redirection,
RequestFailure,
ServerFailure,
GlobalFailure,
Custom,
}Expand description
CodeKind represents the kind of SIP-Code for broader Code handling
Variants§
Provisional
Represents code 100..=199
Success
Represents code 200..=299
Redirection
Represents code 300..=399
RequestFailure
Represents code 400..=499
ServerFailure
Represents code 500..=599
GlobalFailure
Represents code 600..=699
Custom
Represents all other codes
Trait Implementations§
Source§impl Ord for CodeKind
impl Ord for CodeKind
Source§impl PartialOrd for CodeKind
impl PartialOrd for CodeKind
impl Copy for CodeKind
impl Eq for CodeKind
impl StructuralPartialEq for CodeKind
Auto Trait Implementations§
impl Freeze for CodeKind
impl RefUnwindSafe for CodeKind
impl Send for CodeKind
impl Sync for CodeKind
impl Unpin for CodeKind
impl UnwindSafe for CodeKind
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