This commit is contained in:
Oystein Kristoffer Tveit 2024-12-13 17:08:15 +01:00
parent 2e0732e579
commit 638b449e6f
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 2 additions and 31 deletions

View File

@ -1,35 +1,8 @@
use crate::{
commands::{
Command, RequestParserResult, ResponseAttributes, ResponseParserError,
},
commands::{Command, RequestParserResult, ResponseAttributes, ResponseParserError},
Request,
};
// pub struct Unmount;
// impl Command for Unmount {
// type Response = ();
// const COMMAND: &'static str = "unmount";
// fn parse_request(mut parts: std::str::SplitWhitespace<'_>) -> RequestParserResult<'_> {
// let path = parts
// .next()
// .ok_or(RequestParserError::UnexpectedEOF)?
// .to_string();
// debug_assert!(parts.next().is_none());
// Ok((Request::Unmount(path), ""))
// }
// fn parse_response(
// parts: ResponseAttributes<'_>,
// ) -> Result<Self::Response, ResponseParserError> {
// debug_assert!(parts.is_empty());
// Ok(())
// }
// }
pub struct ListMounts;
impl Command for ListMounts {

View File

@ -1,7 +1,5 @@
use crate::{
commands::{
Command, RequestParserResult, ResponseAttributes, ResponseParserError,
},
commands::{Command, RequestParserResult, ResponseAttributes, ResponseParserError},
Request,
};