pub struct ByteSize(/* private fields */);Expand description
Byte size value in bytes. Use u64 for platform independence.
Trait Implementations§
impl Copy for ByteSize
Auto Trait Implementations§
impl Freeze for ByteSize
impl RefUnwindSafe for ByteSize
impl Send for ByteSize
impl Sync for ByteSize
impl Unpin for ByteSize
impl UnsafeUnpin for ByteSize
impl UnwindSafe for ByteSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<V> FromConfig for Vwhere
V: FromValue,
impl<V> FromConfig for Vwhere
V: FromValue,
Source§fn from_config(
context: &mut ConfigContext<'_>,
value: Option<ConfigValue<'_>>,
) -> Result<V, ConfigError>
fn from_config( context: &mut ConfigContext<'_>, value: Option<ConfigValue<'_>>, ) -> Result<V, ConfigError>
Generate config from
ConfigValue under context.