pub struct LoadResult {
pub output: CommandOutput,
pub loaded_images: Vec<String>,
}
Expand description
Result from the load command
Fields§
§output: CommandOutput
Raw command output
loaded_images: Vec<String>
List of loaded image names/IDs
Implementations§
Source§impl LoadResult
impl LoadResult
Sourcepub fn loaded_images(&self) -> &[String]
pub fn loaded_images(&self) -> &[String]
Get the list of loaded images
Sourcepub fn image_count(&self) -> usize
pub fn image_count(&self) -> usize
Get the count of loaded images
Trait Implementations§
Source§impl Clone for LoadResult
impl Clone for LoadResult
Source§fn clone(&self) -> LoadResult
fn clone(&self) -> LoadResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LoadResult
impl RefUnwindSafe for LoadResult
impl Send for LoadResult
impl Sync for LoadResult
impl Unpin for LoadResult
impl UnwindSafe for LoadResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more