pub struct GoDone { /* private fields */ }
Expand description

Struct to store information about the go-done interfaces defined by a primitive. There is no default implementation because it will almost certainly be very unhelpful: you will want to use from_ctx.

Implementations

Returns true if this is @go port

Returns true if this is a @done port

Returns the latency associated with the provided @go port if present

Iterate over the defined ports

Iterate over the defined ports

Iterate over the defined ports

Iterate over the defined ports

Trait Implementations

Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.

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.