upload.rs
397 Bytes
use std::fmt::Display;
use super::super::error::*;
use super::super::client::Client;
#[derive(Debug, Clone)]
pub struct Upload {
client: Client,
}
impl Upload {
pub(crate) async fn new(name :&str) -> Result<()> {
Ok(())
/*
match response.status() {
200 => Ok(self),
status => Err(Self::status_error(status)),
}
*/
}
}