[−][src]Struct kompact::doctest_helpers::TestComponent1
A test component
Methods
impl TestComponent1
[src]
pub fn new() -> TestComponent1
[src]
Create a new test component
Trait Implementations
impl ActorRaw for TestComponent1
[src]
type Message = Never
The type of local messages the actor accepts
fn receive(&mut self, env: MsgEnvelope<Self::Message>)
[src]
impl ComponentDefinition for TestComponent1
[src]
fn setup(&mut self, self_component: Arc<Component<Self>>)
[src]
fn execute(&mut self, max_events: usize, skip: usize) -> ExecuteResult
[src]
fn ctx_mut(&mut self) -> &mut ComponentContext<Self>
[src]
fn ctx(&self) -> &ComponentContext<Self>
[src]
fn type_name() -> &'static str
[src]
impl Provide<ControlPort> for TestComponent1
[src]
fn handle(&mut self, _event: <ControlPort as Port>::Request)
[src]
impl Provide<TestPort> for TestComponent1
[src]
impl ProvideRef<TestPort> for TestComponent1
[src]
fn provided_ref(&mut self) -> ProvidedRef<TestPort>
[src]
fn connect_to_required(&mut self, req: RequiredRef<TestPort>)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TestComponent1
impl Send for TestComponent1
impl !Sync for TestComponent1
impl Unpin for TestComponent1
impl !UnwindSafe for TestComponent1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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<CD> ComponentLogging for CD where
CD: ComponentDefinition + 'static,
[src]
CD: ComponentDefinition + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,