pub struct LoweredRpc {
pub builtins: Vec<RpcAnnotation>,
pub custom: Vec<Annotation>,
}Expand description
Ergebnis eines RPC-Annotation-Lowerings — getrennte Listen fuer erkannte und durchgereichte (unbekannte) Annotations.
Fields§
§builtins: Vec<RpcAnnotation>Erkannte RPC-Builtins.
custom: Vec<Annotation>Nicht erkannt (vendor-spezifisch oder XTypes-Builtin).
Implementations§
Source§impl LoweredRpc
impl LoweredRpc
Sourcepub fn is_service(&self) -> bool
pub fn is_service(&self) -> bool
true wenn @service (mit oder ohne Argument) gesetzt ist.
Sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
Liefert den expliziten @service(name="...")-Wert, falls gesetzt.
Sourcepub fn has_oneway(&self) -> bool
pub fn has_oneway(&self) -> bool
true wenn @oneway-Annotation gesetzt ist.
Sourcepub fn interface_qos_profile(&self) -> Option<&str>
pub fn interface_qos_profile(&self) -> Option<&str>
Spec §7.10.1: liefert das @RPCInterfaceQos(profile=...)-Argument.
Sourcepub fn dds_request_topic(&self) -> Option<&str>
pub fn dds_request_topic(&self) -> Option<&str>
Spec §7.4.2.2: liefert den @DDSRequestTopic-Override.
Sourcepub fn dds_reply_topic(&self) -> Option<&str>
pub fn dds_reply_topic(&self) -> Option<&str>
Spec §7.4.2.2: liefert den @DDSReplyTopic-Override.
Sourcepub fn is_rpc_request_type(&self) -> bool
pub fn is_rpc_request_type(&self) -> bool
Spec §7.3.1.4: true wenn @RPCRequestType gesetzt.
Sourcepub fn is_rpc_reply_type(&self) -> bool
pub fn is_rpc_reply_type(&self) -> bool
Spec §7.3.1.4: true wenn @RPCReplyType gesetzt.
Sourcepub fn is_rpc_request(&self) -> bool
pub fn is_rpc_request(&self) -> bool
Spec §7.3.1.2: true wenn @RPCRequest gesetzt.
Sourcepub fn is_rpc_reply(&self) -> bool
pub fn is_rpc_reply(&self) -> bool
Spec §7.3.1.2: true wenn @RPCReply gesetzt.
Trait Implementations§
Source§impl Clone for LoweredRpc
impl Clone for LoweredRpc
Source§fn clone(&self) -> LoweredRpc
fn clone(&self) -> LoweredRpc
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 LoweredRpc
impl Debug for LoweredRpc
Source§impl Default for LoweredRpc
impl Default for LoweredRpc
Source§fn default() -> LoweredRpc
fn default() -> LoweredRpc
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoweredRpc
impl PartialEq for LoweredRpc
Source§fn eq(&self, other: &LoweredRpc) -> bool
fn eq(&self, other: &LoweredRpc) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoweredRpc
Auto Trait Implementations§
impl Freeze for LoweredRpc
impl RefUnwindSafe for LoweredRpc
impl Send for LoweredRpc
impl Sync for LoweredRpc
impl Unpin for LoweredRpc
impl UnsafeUnpin for LoweredRpc
impl UnwindSafe for LoweredRpc
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