Trait AsCommunicator

Source
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§

Source

type Out: Communicator

The type of the associated communicator

Required Methods§

Source

fn as_communicator(&self) -> &Self::Out

Returns the associated communicator.

Implementors§