[−][src]Struct kompact::Component
Methods
impl<C: ComponentDefinition + Sized> Component<C>
[src]
pub fn definition(&self) -> &Mutex<C>
[src]
pub fn definition_mut(&mut self) -> &mut C
[src]
pub fn on_definition<T, F>(&self, f: F) -> T where
F: FnOnce(&mut C) -> T,
[src]
F: FnOnce(&mut C) -> T,
pub fn logger(&self) -> &KompactLogger
[src]
pub fn is_faulty(&self) -> bool
[src]
pub fn is_active(&self) -> bool
[src]
Trait Implementations
impl<C: ComponentDefinition + ExecuteSend + Sized> CoreContainer for Component<C>
[src]
fn id(&self) -> &Uuid
[src]
fn core(&self) -> &ComponentCore
[src]
fn execute(&self)
[src]
fn control_port(&self) -> ProvidedRef<ControlPort>
[src]
fn system(&self) -> KompactSystem
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,