pub struct ServicesSampler { /* private fields */ }Implementations§
Source§impl ServicesSampler
impl ServicesSampler
pub fn get(&self, service: &str) -> Option<RateSampler>
pub fn update_rates<I: IntoIterator<Item = (String, f64)>>(&self, rates: I)
Trait Implementations§
Source§impl Clone for ServicesSampler
impl Clone for ServicesSampler
Source§fn clone(&self) -> ServicesSampler
fn clone(&self) -> ServicesSampler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServicesSampler
impl Debug for ServicesSampler
Source§impl Default for ServicesSampler
impl Default for ServicesSampler
Source§fn default() -> ServicesSampler
fn default() -> ServicesSampler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServicesSampler
impl RefUnwindSafe for ServicesSampler
impl Send for ServicesSampler
impl Sync for ServicesSampler
impl Unpin for ServicesSampler
impl UnsafeUnpin for ServicesSampler
impl UnwindSafe for ServicesSampler
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