blob: f31033767abc1824e21002cdfbd7591b32560ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use std::path::PathBuf;
use crate::Container;
pub trait Volumes {
type Error;
fn list_volumes(&self) -> Result<Vec<Container>, Self::Error>;
fn get_volume(&self, container: &Container) -> Result<PathBuf, Self::Error>;
}
|