Struct open_protocol::ack::AckData
[−]
[src]
pub struct AckData { /* fields omitted */ }Represents the response of a command.
Methods
impl AckData[src]
fn new(msg: String, status: bool) -> AckData
Create an ack data.
fn status(&self) -> bool
Get the execution status of the command. ture means the command executed successfully,
false means failed.