pub enum BindingStyle {
FunctionCall,
RequestReply,
}Expand description
Which language binding a topic name is being built for. DDS-RPC 1.0
§7.4.1, last paragraph: “For the request-reply style language
binding, <interface_name> and the following underscore shall not be
captured automatically.”
The same value crates/rpc/src/topic_naming.rs::BindingStyle carries
for the run time. Two enums and not one because this crate must not
depend on zerodds-rpc — that edge is a cycle, zerodds-rpc →
zerodds-dcps → zerodds-lang-rules — and
crates/rpc/tests/language_binding_agreement.rs holds the names the
two produce against each other rather than trusting the duplication.
Variants§
Implementations§
Source§impl BindingStyle
impl BindingStyle
Trait Implementations§
Source§impl Clone for BindingStyle
impl Clone for BindingStyle
impl Copy for BindingStyle
Source§impl Debug for BindingStyle
impl Debug for BindingStyle
Source§impl Default for BindingStyle
impl Default for BindingStyle
impl Eq for BindingStyle
Source§impl PartialEq for BindingStyle
impl PartialEq for BindingStyle
impl StructuralPartialEq for BindingStyle
Auto Trait Implementations§
impl Freeze for BindingStyle
impl RefUnwindSafe for BindingStyle
impl Send for BindingStyle
impl Sync for BindingStyle
impl Unpin for BindingStyle
impl UnsafeUnpin for BindingStyle
impl UnwindSafe for BindingStyle
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