pub enum ComponentRole {
Facet {
name: String,
interface: Ref<InterfaceNode>,
},
Receptacle {
name: String,
interface: Ref<InterfaceNode>,
multiple: bool,
},
EventSource {
name: String,
event: Ref<TypeNode>,
publisher: bool,
},
EventSink {
name: String,
event: Ref<TypeNode>,
},
HomeFactory,
HomeFinder,
PortTypeRole,
ConnectorRole,
}Expand description
The role a declaration plays in the CORBA component model.
Carried here rather than as core node kinds, so that CCM support does not widen the type space every consumer has to match on. Spec §3.4.
Variants§
Facet
provides — a facet the component offers.
Receptacle
uses — a receptacle the component consumes.
Fields
§
interface: Ref<InterfaceNode>Interface consumed.
EventSource
publishes or emits — an event source.
Fields
EventSink
consumes — an event sink.
HomeFactory
A home factory operation.
HomeFinder
A home finder operation.
PortTypeRole
A member of a porttype declaration.
ConnectorRole
A member of a connector declaration.
Trait Implementations§
Source§impl Clone for ComponentRole
impl Clone for ComponentRole
Source§impl Debug for ComponentRole
impl Debug for ComponentRole
impl Eq for ComponentRole
Source§impl PartialEq for ComponentRole
impl PartialEq for ComponentRole
impl StructuralPartialEq for ComponentRole
Auto Trait Implementations§
impl Freeze for ComponentRole
impl RefUnwindSafe for ComponentRole
impl Send for ComponentRole
impl Sync for ComponentRole
impl Unpin for ComponentRole
impl UnsafeUnpin for ComponentRole
impl UnwindSafe for ComponentRole
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