pub(crate) trait DrainRateNotifier {
// Required method
fn notify(&mut self, rate: XonKbpsEwma) -> Result<(), Error>;
}Expand description
Something that sends drain rate updates to the flow control logic (the XonXoffFlowCtrl).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".