pub enum ByteCapacity {
B(u64),
KB(u64),
MB(u64),
GB(u64),
TB(u64),
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ByteCapacity
Available on crate feature serde only.
impl<'de> Deserialize<'de> for ByteCapacity
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ByteCapacity
impl RefUnwindSafe for ByteCapacity
impl Send for ByteCapacity
impl Sync for ByteCapacity
impl Unpin for ByteCapacity
impl UnwindSafe for ByteCapacity
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more