#[repr(u8)]pub enum MessageState {
Enroute = 1,
Delivered = 2,
Expired = 3,
Deleted = 4,
Undeliverable = 5,
Accepted = 6,
Unknown = 7,
Rejected = 8,
}Expand description
Message States (as per SMPP v3.4 Spec section 5.2.28)
Variants§
Enroute = 1
Message is in enroute state
Delivered = 2
Message is delivered
Expired = 3
Message validity period has expired
Deleted = 4
Message has been deleted
Undeliverable = 5
Message is undeliverable
Accepted = 6
Message is in accepted state
Unknown = 7
Message is in invalid state
Rejected = 8
Message is in rejected state
Trait Implementations§
Source§impl Clone for MessageState
impl Clone for MessageState
Source§fn clone(&self) -> MessageState
fn clone(&self) -> MessageState
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageState
impl Debug for MessageState
Source§impl PartialEq for MessageState
impl PartialEq for MessageState
impl Copy for MessageState
impl StructuralPartialEq for MessageState
Auto Trait Implementations§
impl Freeze for MessageState
impl RefUnwindSafe for MessageState
impl Send for MessageState
impl Sync for MessageState
impl Unpin for MessageState
impl UnwindSafe for MessageState
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