Implement FcpRequest for ReturnType

This commit is contained in:
Horhik 2021-03-21 14:03:32 +03:00
parent d7031544fe
commit 61574a1f83

View file

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