pub struct DsfbObserver { /* private fields */ }Expand description
DSFB Observer
Implementations§
Source§impl DsfbObserver
impl DsfbObserver
Sourcepub fn new(params: DsfbParams, channels: usize) -> Self
pub fn new(params: DsfbParams, channels: usize) -> Self
Create a new DSFB observer
Sourcepub fn trust_stats(&self) -> &[TrustStats]
pub fn trust_stats(&self) -> &[TrustStats]
Get trust statistics for all channels
Sourcepub fn trust_weight(&self, channel: usize) -> f64
pub fn trust_weight(&self, channel: usize) -> f64
Get trust weight for a specific channel
Sourcepub fn ema_residual(&self, channel: usize) -> f64
pub fn ema_residual(&self, channel: usize) -> f64
Get EMA residual for a specific channel
Auto Trait Implementations§
impl Freeze for DsfbObserver
impl RefUnwindSafe for DsfbObserver
impl Send for DsfbObserver
impl Sync for DsfbObserver
impl Unpin for DsfbObserver
impl UnwindSafe for DsfbObserver
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