Struct rabble::ThreadHandler [] [src]

pub struct ThreadHandler<T: Encodable + Decodable + Debug + Clone> { /* fields omitted */ }

Methods

impl<T> ThreadHandler<T> where T: Encodable + Decodable + Debug + Clone
[src]

Trait Implementations

impl<T> ServiceHandler<T> for ThreadHandler<T> where T: Encodable + Decodable + Debug + Clone
[src]

Handle any envelopes addressed to the service's Pid. All handlers must implement this function. Read more

A callback function used to initialize the handler. Read more

Handle poll notifications. Some handler don't register anything that requires notification and only receive envelopes. Those handlers do not need to implement this function. Read more