pub struct DeviceImageSource<'a> { /* private fields */ }Expand description
A HistorySource over one decoded device image.
Implementations§
Source§impl<'a> DeviceImageSource<'a>
impl<'a> DeviceImageSource<'a>
Sourcepub fn new(image: &'a DeviceImage, locator: impl Into<String>) -> Self
pub fn new(image: &'a DeviceImage, locator: impl Into<String>) -> Self
Wrap a decoded device image with the on-disk locator of the image it came from.
Trait Implementations§
Source§impl HistorySource for DeviceImageSource<'_>
impl HistorySource for DeviceImageSource<'_>
Auto Trait Implementations§
impl<'a> Freeze for DeviceImageSource<'a>
impl<'a> RefUnwindSafe for DeviceImageSource<'a>
impl<'a> Send for DeviceImageSource<'a>
impl<'a> Sync for DeviceImageSource<'a>
impl<'a> Unpin for DeviceImageSource<'a>
impl<'a> UnsafeUnpin for DeviceImageSource<'a>
impl<'a> UnwindSafe for DeviceImageSource<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more