Struct dsdl_parser::ServiceDefinition
[−]
[src]
pub struct ServiceDefinition { pub request: MessageDefinition, pub response: MessageDefinition, }
An Uavcan service definition
Since a service invocation consists of two network exchange operations, the DSDL definition for a service must define two structures:
- Request part - for request transfer (client to server).
- Response part - for response transfer (server to client).
Fields
request: MessageDefinition
The request part - for request transfer (client to server)
response: MessageDefinition
The response part - for response transfer (server to client)
Trait Implementations
impl Display for ServiceDefinition
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for ServiceDefinition
[src]
fn clone(&self) -> ServiceDefinition
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ServiceDefinition
[src]
impl PartialEq for ServiceDefinition
[src]
fn eq(&self, __arg_0: &ServiceDefinition) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ServiceDefinition) -> bool
[src]
This method tests for !=
.