You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
232 B
17 lines
232 B
3 years ago
|
use super::*;
|
||
|
|
||
|
#[derive(Debug)]
|
||
|
pub struct Bytes;
|
||
|
|
||
|
impl Conversion for Bytes
|
||
|
{
|
||
|
const UNIT: &'static str = "bytes";
|
||
|
|
||
|
type Output = u64;
|
||
|
|
||
|
fn convert(&self, input: &str) -> Result<Self::Output, Self::Error>
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|