Struct curl_http_client::http_client::BytesPerSec
source · pub struct BytesPerSec(/* private fields */);
Expand description
A strong type unit when setting download speed and upload speed in bytes per second.
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Deref for BytesPerSec
impl Deref for BytesPerSec
source§impl DerefMut for BytesPerSec
impl DerefMut for BytesPerSec
Auto Trait Implementations§
impl RefUnwindSafe for BytesPerSec
impl Send for BytesPerSec
impl Sync for BytesPerSec
impl Unpin for BytesPerSec
impl UnwindSafe for BytesPerSec
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