Struct SendAck
pub struct SendAck {
pub transaction_id: u32,
pub protocol: MessageProtocol,
pub success: bool,
pub cause: Option<FailureCause>,
pub on_ims: Option<bool>,
}Expand description
Acknowledges a transferred message to the network (QMI_WMS_SEND_ACK).
Send it for messages on ReceiptAction::TRANSFER_ONLY routes. On
ReceiptAction::TRANSFER_AND_ACK routes the modem acknowledges the
message itself, so it is not needed. See the crate docs on
acknowledgements.
Fields§
§transaction_id: u32Transaction ID of the message.
protocol: MessageProtocolProtocol of the message.
success: boolWhether the message was processed.
cause: Option<FailureCause>Why a GSM/WCDMA message wasn’t processed. Only set it if
success is false. On a transfer-only route, EVA and
EVD accepted success: false with and without a cause.
on_ims: Option<bool>Whether the message arrived over IMS. Copy it from
EventReport::on_ims.
Trait Implementations§
impl Copy for SendAck
impl Eq for SendAck
§impl Request for SendAck
impl Request for SendAck
impl StructuralPartialEq for SendAck
Auto Trait Implementations§
impl Freeze for SendAck
impl RefUnwindSafe for SendAck
impl Send for SendAck
impl Sync for SendAck
impl Unpin for SendAck
impl UnsafeUnpin for SendAck
impl UnwindSafe for SendAck
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