pub struct ThrottleOptions {
pub leading: bool,
pub trailing: bool,
}Fields§
§leading: bool§trailing: boolImplementations§
Source§impl ThrottleOptions
impl ThrottleOptions
pub fn leading_only() -> Self
pub fn trailing_only() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ThrottleOptions
impl RefUnwindSafe for ThrottleOptions
impl Send for ThrottleOptions
impl Sync for ThrottleOptions
impl Unpin for ThrottleOptions
impl UnwindSafe for ThrottleOptions
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