pub trait SurbFlowController {
// Required method
fn adjust_surb_flow(&self, surbs_per_sec: usize);
}Expand description
Allows controlling the production or consumption of SURBs in a Session.
Required Methods§
Sourcefn adjust_surb_flow(&self, surbs_per_sec: usize)
fn adjust_surb_flow(&self, surbs_per_sec: usize)
Adjusts the amount of SURB production or consumption.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".