Struct capsize::Bytes
[−]
[src]
pub struct Bytes { /* fields omitted */ }
Bytes is a simple type to extract a capacity size, in bytes, from a string value
Trait Implementations
impl Capacity for Bytes
[src]
fn bytes(&self) -> i64
size in bytes
fn kilobytes(&self) -> i64
size in kilobytes
fn megabytes(&self) -> i64
size in megabytes
fn gigabytes(&self) -> i64
size in gigabytes
fn terabytes(&self) -> i64
size in terabytes
fn petabytes(&self) -> i64
size in petabytes
fn exabytes(&self) -> i64
size in exabytes
fn capacity(&self) -> String
size as a human readable string