#[repr(u8)]pub enum SmsDeliveryReportStatus {
Show 26 variants
ReceivedBySme = 0,
ForwardedButUnconfirmed = 1,
ReplacedBySc = 2,
Congestion = 32,
SmeBusy = 33,
NoResponseFromSme = 34,
ServiceRejected = 35,
QualityOfServiceNotAvailable = 36,
ErrorInSme = 37,
RemoteProcedureError = 64,
IncompatibleDestination = 65,
ConnectionRejectedBySme = 66,
NotObtainable = 67,
QualityOfServiceNotAvailablePermanent = 68,
NoInterworkingAvailable = 69,
SmValidityPeriodExpired = 70,
SmDeletedByOriginatingSme = 71,
SmDeletedByScAdministration = 72,
SmDoesNotExist = 73,
CongestionNoRetry = 96,
SmeBusyNoRetry = 97,
NoResponseFromSmeNoRetry = 98,
ServiceRejectedNoRetry = 99,
QualityOfServiceNotAvailableNoRetry = 100,
ErrorInSmeNoRetry = 101,
Unknown(u8),
}Expand description
Variants§
ReceivedBySme = 0
Short message received by the SME successfully
ForwardedButUnconfirmed = 1
Short message forwarded by the SC to the SME but delivery confirmation unavailable
ReplacedBySc = 2
Short message replaced by the SC
Congestion = 32
Network congestion preventing delivery, SC will retry
SmeBusy = 33
SME is busy, SC will retry delivery
NoResponseFromSme = 34
No response from SME, SC will retry delivery
ServiceRejected = 35
Service rejected by network, SC will retry delivery
QualityOfServiceNotAvailable = 36
Quality of service not available, SC will retry delivery
ErrorInSme = 37
Error in SME, SC will retry delivery
RemoteProcedureError = 64
Remote procedure error - permanent failure
IncompatibleDestination = 65
Incompatible destination - permanent failure
ConnectionRejectedBySme = 66
Connection rejected by SME - permanent failure
NotObtainable = 67
Destination not obtainable - permanent failure
QualityOfServiceNotAvailablePermanent = 68
Quality of service not available - permanent failure
NoInterworkingAvailable = 69
No interworking available - permanent failure
SmValidityPeriodExpired = 70
SM validity period expired - permanent failure
SmDeletedByOriginatingSme = 71
SM deleted by originating SME - permanent failure
SmDeletedByScAdministration = 72
SM deleted by SC administration - permanent failure
SmDoesNotExist = 73
SM does not exist in SC - permanent failure
CongestionNoRetry = 96
Network congestion, SC has stopped retry attempts
SmeBusyNoRetry = 97
SME busy, SC has stopped retry attempts
NoResponseFromSmeNoRetry = 98
No response from SME, SC has stopped retry attempts
ServiceRejectedNoRetry = 99
Service rejected, SC has stopped retry attempts
QualityOfServiceNotAvailableNoRetry = 100
Quality of service not available, SC has stopped retry attempts
ErrorInSmeNoRetry = 101
Error in SME, SC has stopped retry attempts
Unknown(u8)
Unknown or reserved status code - treated as service rejected per spec
Implementations§
Source§impl SmsDeliveryReportStatus
impl SmsDeliveryReportStatus
Sourcepub fn is_successful(&self) -> bool
pub fn is_successful(&self) -> bool
Returns true if the SMS was successfully delivered to the SME
Sourcepub fn is_temporary_retrying(&self) -> bool
pub fn is_temporary_retrying(&self) -> bool
Returns true if this is a temporary error where SC is still trying
Sourcepub fn is_permanent_error(&self) -> bool
pub fn is_permanent_error(&self) -> bool
Returns true if this is a permanent error (no more delivery attempts)
Sourcepub fn is_temporary_no_retry(&self) -> bool
pub fn is_temporary_no_retry(&self) -> bool
Returns true if this is a temporary error where SC has stopped trying
Sourcepub fn to_status_group(&self) -> SmsDeliveryReportStatusGroup
pub fn to_status_group(&self) -> SmsDeliveryReportStatusGroup
Converts the status to a simplified status group for easier categorization
Trait Implementations§
Source§impl Clone for SmsDeliveryReportStatus
impl Clone for SmsDeliveryReportStatus
Source§fn clone(&self) -> SmsDeliveryReportStatus
fn clone(&self) -> SmsDeliveryReportStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more