Implement FcpRequest for ReturnType
This commit is contained in:
parent
d7031544fe
commit
61574a1f83
|
@ -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(),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue