Trait BackendOwner

Source
pub trait BackendOwner<Owner> {
    // Required method
    fn on_action(&mut self, owner: Owner, action: BackendOutgoing);
}

Required Methods§

Source

fn on_action(&mut self, owner: Owner, action: BackendOutgoing)

Implementors§

Source§

impl<Owner: Clone + Copy + PartialEq, const SOCKET_LIMIT: usize, const QUEUE_SIZE: usize> BackendOwner<Owner> for PollBackend<Owner, SOCKET_LIMIT, QUEUE_SIZE>

Source§

impl<Owner: Debug + Clone + Copy + PartialEq, const SOCKET_LIMIT: usize, const QUEUE_SIZE: usize> BackendOwner<Owner> for PollingBackend<Owner, SOCKET_LIMIT, QUEUE_SIZE>