pub struct ThrottleStatus(/* private fields */);Implementations§
Source§impl ThrottleStatus
impl ThrottleStatus
pub fn new(val: u64) -> ThrottleStatus
pub fn check_throttler(&self, thr: ThrottlerBit) -> bool
pub fn get_all_throttler(&self) -> Vec<ThrottlerBit>
pub fn get_all_throttler_type(&self) -> Vec<ThrottlerType>
pub fn get_all_throttler_type_from_slice( thrs: &[ThrottlerBit], ) -> Vec<ThrottlerType>
Trait Implementations§
Source§impl Clone for ThrottleStatus
impl Clone for ThrottleStatus
Source§fn clone(&self) -> ThrottleStatus
fn clone(&self) -> ThrottleStatus
Returns a copy of the value. Read more
1.0.0 · 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 ThrottleStatus
impl Debug for ThrottleStatus
impl Copy for ThrottleStatus
Auto Trait Implementations§
impl Freeze for ThrottleStatus
impl RefUnwindSafe for ThrottleStatus
impl Send for ThrottleStatus
impl Sync for ThrottleStatus
impl Unpin for ThrottleStatus
impl UnwindSafe for ThrottleStatus
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