That's where the implementation (and any restrictions) come from.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
size,
game: instance_name.clone(),
hash: bundles::Hash(hash.into()), kind,
- progress: PUM::Simplex,
+ progress: MgmtChannel::PROGRESS,
};
let mut progress = termprogress::new();
chan.cmd_withbulk(&cmd, &mut f, &mut io::sink(), &mut *progress)?;
}
impl MgmtChannel {
+ pub const PROGRESS: ProgressUpdateMode = PUM::Simplex;
+
#[throws(AE)]
pub fn connect(socket_path: &str) -> MgmtChannel {
let unix = UnixStream::connect(socket_path)