pub trait AsCommunicator {
type Out: Communicator;
// Required method
fn as_communicator(&self) -> &Self::Out;
}
Expand description
Something that has a communicator associated with it
Required Associated Types§
Sourcetype Out: Communicator
type Out: Communicator
The type of the associated communicator
Required Methods§
Sourcefn as_communicator(&self) -> &Self::Out
fn as_communicator(&self) -> &Self::Out
Returns the associated communicator.