pub struct Kibi(pub u64);Expand description
Multiplies by 1_024 when converted to a u64
assert_eq!(u64::from(Kibi(2)), 2*1_024);Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl From<Kibi> for MinBytesForConcurrentDownload
impl From<Kibi> for MinBytesForConcurrentDownload
Source§impl From<Kibi> for PartSizeBytes
impl From<Kibi> for PartSizeBytes
Source§impl Ord for Kibi
impl Ord for Kibi
Source§impl PartialOrd for Kibi
impl PartialOrd for Kibi
impl Copy for Kibi
impl Eq for Kibi
impl StructuralPartialEq for Kibi
Auto Trait Implementations§
impl Freeze for Kibi
impl RefUnwindSafe for Kibi
impl Send for Kibi
impl Sync for Kibi
impl Unpin for Kibi
impl UnwindSafe for Kibi
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