pub struct BolaAlgorithm { /* private fields */ }Expand description
BOLA (Buffer Occupancy based Lyapunov Algorithm) Paper: https://arxiv.org/abs/1601.06748
Implementations§
Source§impl BolaAlgorithm
impl BolaAlgorithm
Trait Implementations§
Source§impl AbrAlgorithm for BolaAlgorithm
impl AbrAlgorithm for BolaAlgorithm
Source§fn select_rendition<'a>(
&self,
renditions: &'a [Rendition],
context: &AbrContext,
) -> Option<&'a Rendition>
fn select_rendition<'a>( &self, renditions: &'a [Rendition], context: &AbrContext, ) -> Option<&'a Rendition>
Select the best rendition given current conditions
Source§fn update(&mut self, _measurement: &BandwidthMeasurement)
fn update(&mut self, _measurement: &BandwidthMeasurement)
Update algorithm state with new measurement
Auto Trait Implementations§
impl Freeze for BolaAlgorithm
impl RefUnwindSafe for BolaAlgorithm
impl Send for BolaAlgorithm
impl Sync for BolaAlgorithm
impl Unpin for BolaAlgorithm
impl UnsafeUnpin for BolaAlgorithm
impl UnwindSafe for BolaAlgorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more