Struct podman_api::api::Manifest [−][src]
pub struct Manifest<'podman> { /* fields omitted */ }
Expand description
Interface for accessing and manipulating Podman Manifest.
Implementations
Quick way to determine if a manifest exists by name or id.
Examples:
let podman = Podman::unix("/run/user/1000/podman/podman.sock");
match podman.manifests().get("some-manifest").exists().await {
Ok(exists) => if exists {
println!("manifest exists!");
} else {
println!("manifest doesn't exists!");
},
Err(e) => eprintln!("check failed: {}", e);
}
Trait Implementations
Auto Trait Implementations
impl<'podman> !RefUnwindSafe for Manifest<'podman>
impl<'podman> !UnwindSafe for Manifest<'podman>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more