Skip to main content

SendErrorReceiver

Trait SendErrorReceiver 

Source
pub trait SendErrorReceiver: Send + Sync {
    // Required method
    fn report_send_error(&self, error: &ScionSocketSendError);
}
Expand description

A trait for receiving socket send errors.

Required Methods§

Source

fn report_send_error(&self, error: &ScionSocketSendError)

Reports an error when sending a packet. This function must return immediately and not block.

Implementors§