melib/mbox: replace unimplemented!() with Error
parent
51d9405c72
commit
cd1ed5ef40
|
@ -615,7 +615,7 @@ impl MailBackend for MboxType {
|
|||
}
|
||||
|
||||
fn save(&self, _bytes: &[u8], _folder: &str, _flags: Option<Flag>) -> Result<()> {
|
||||
unimplemented!();
|
||||
Err(MeliError::new("Unimplemented."))
|
||||
}
|
||||
|
||||
fn as_any(&self) -> &dyn::std::any::Any {
|
||||
|
|
Loading…
Reference in New Issue