Struct interoptopus::patterns::service::Service [−][src]
pub struct Service { /* fields omitted */ }
Expand description
Combines a receiver, constructor, destructor and multiple methods in one entity.
Implementations
Checks if the signature of this service is compatible with the Service
pattern, panic with
error message otherwise.
This function is mainly called during compile time therefore panicking with a good error message is beneficial.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Service
impl UnwindSafe for Service
Blanket Implementations
Mutably borrows from an owned value. Read more