pub enum RpcAnnotation {
Service {
name: Option<String>,
},
Oneway,
In,
Out,
InOut,
InterfaceQos {
profile_ref: String,
},
DdsRequestTopic(String),
DdsReplyTopic(String),
RpcRequestType,
RpcReplyType,
RpcRequest,
RpcReply,
}Expand description
Typisierte Repraesentation der RPC-spezifischen Builtin-Annotations.
Variants§
Service
@service oder @service(name="...").
Oneway
@oneway (Annotation-Form; orthogonal zum AST-oneway-Keyword).
In
@in (Annotation-Form; orthogonal zu ParamAttribute::In).
Out
@out.
InOut
@inout.
InterfaceQos
@RPCInterfaceQos(profile="<lib::profile>") (Spec §7.10.1).
Verweist auf ein QoS-Profile aus einer XML-QoS-Library, das
auf Service-Endpoints (Request-Writer/Reader, Reply-
Writer/Reader) angewendet wird.
DdsRequestTopic(String)
@DDSRequestTopic("<topic>") (Spec §7.4.2.2).
Override des Default-Request-Topic-Namens.
DdsReplyTopic(String)
@DDSReplyTopic("<topic>") (Spec §7.4.2.2).
RpcRequestType
@RPCRequestType (Spec §7.3.1.4).
Markiert einen IDL-Struct als Pair-of-Types Request-Type.
RpcReplyType
@RPCReplyType (Spec §7.3.1.4).
RpcRequest
@RPCRequest (Spec §7.3.1.2 Enhanced).
Markiert eine IDL-Operation-Inputs-Struktur.
RpcReply
@RPCReply (Spec §7.3.1.2 Enhanced).
Trait Implementations§
Source§impl Clone for RpcAnnotation
impl Clone for RpcAnnotation
Source§fn clone(&self) -> RpcAnnotation
fn clone(&self) -> RpcAnnotation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RpcAnnotation
impl Debug for RpcAnnotation
Source§impl PartialEq for RpcAnnotation
impl PartialEq for RpcAnnotation
Source§fn eq(&self, other: &RpcAnnotation) -> bool
fn eq(&self, other: &RpcAnnotation) -> bool
self and other values to be equal, and is used by ==.