logo
pub struct SimpleCommand {}
Expand description

A reference Command implementation.

Trait Implementations

Fulfill the use-case initiated by the given Notification.

In the Command Pattern, an application use-case typically begins with some user action, which results in an Notification being broadcast, which is handled by business logic in the execute method of an Command.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.