Implement FcpRequest for ReturnType

This commit is contained in:
Horhik 2021-03-21 14:03:32 +03:00
parent d7031544fe
commit 61574a1f83
1 changed files with 5 additions and 1 deletions

View File

@ -72,6 +72,10 @@ pub enum ReturnType {
impl FcpRequest for ReturnType {
fn convert(&self) -> String {
unimplemented!();
match self {
ReturnType::Direct => "direct".to_string(),
ReturnType::Disk => "disk".to_string(),
ReturnType::None => "none".to_string(),
}
}
}