pub trait Socium<Request, Response> {
type Proletarian: Proletarian<Request, Response>;
// Required method
fn construct_proletarian(&self, channel_id: usize) -> Self::Proletarian;
}Expand description
A Proletarian fabric.
Required Associated Types§
Sourcetype Proletarian: Proletarian<Request, Response>
type Proletarian: Proletarian<Request, Response>
The one that does the hard job.
Required Methods§
Sourcefn construct_proletarian(&self, channel_id: usize) -> Self::Proletarian
fn construct_proletarian(&self, channel_id: usize) -> Self::Proletarian
Constructs an instance of a Proletarian.