pub struct GatewayCommandPipelineReport {
pub client_id: Option<ClientId>,
pub command_id: Option<CommandId>,
pub station_id: Option<StationId>,
pub node_id: Option<NodeId>,
pub delivery: Option<GatewayDeliveryRoute>,
pub command: Option<CommandEnvelope>,
pub accepted: bool,
pub reason_code: u16,
pub ack_bytes: Option<Vec<u8>>,
pub error: Option<GatewayCommandPipelineError>,
}Expand description
Gateway command pipeline result.
Fields§
§client_id: Option<ClientId>Client id when a command frame was decoded.
command_id: Option<CommandId>Command id when a command frame was decoded.
station_id: Option<StationId>Target station when gateway routing succeeded.
node_id: Option<NodeId>Target node when deployment routing succeeded.
delivery: Option<GatewayDeliveryRoute>Resolved deployment delivery route.
command: Option<CommandEnvelope>Stamped command envelope for external dispatch, when not enqueued locally.
accepted: boolWhether the command was queued for station application.
reason_code: u16ACK reason code. Zero means accepted.
ack_bytes: Option<Vec<u8>>Encoded ACK bytes, when an ACK was produced.
error: Option<GatewayCommandPipelineError>Decode, gateway, queue, or encode error detail.
Trait Implementations§
Source§impl Clone for GatewayCommandPipelineReport
impl Clone for GatewayCommandPipelineReport
Source§fn clone(&self) -> GatewayCommandPipelineReport
fn clone(&self) -> GatewayCommandPipelineReport
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 GatewayCommandPipelineReport
impl Debug for GatewayCommandPipelineReport
Source§impl Default for GatewayCommandPipelineReport
impl Default for GatewayCommandPipelineReport
Source§fn default() -> GatewayCommandPipelineReport
fn default() -> GatewayCommandPipelineReport
Returns the “default value” for a type. Read more
impl Eq for GatewayCommandPipelineReport
impl StructuralPartialEq for GatewayCommandPipelineReport
Auto Trait Implementations§
impl Freeze for GatewayCommandPipelineReport
impl RefUnwindSafe for GatewayCommandPipelineReport
impl Send for GatewayCommandPipelineReport
impl Sync for GatewayCommandPipelineReport
impl Unpin for GatewayCommandPipelineReport
impl UnsafeUnpin for GatewayCommandPipelineReport
impl UnwindSafe for GatewayCommandPipelineReport
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