pub struct ResolvedDisk(pub Disk);
Expand description
A resolved Disk
.
Tuple Fields§
§0: Disk
Implementations§
Source§impl ResolvedDisk
impl ResolvedDisk
Sourcepub fn new<T: DiskIo>(disk: T) -> Result<Self, InvalidDisk>
pub fn new<T: DiskIo>(disk: T) -> Result<Self, InvalidDisk>
Returns a resolved disk wrapping a backing object.
Trait Implementations§
Source§impl CanResolveTo<ResolvedDisk> for DiskHandleKind
impl CanResolveTo<ResolvedDisk> for DiskHandleKind
Source§type Input<'a> = ResolveDiskParameters<'a>
type Input<'a> = ResolveDiskParameters<'a>
Additional input (besides the resource itself) when resolving resources
of this resource kind.
Auto Trait Implementations§
impl Freeze for ResolvedDisk
impl !RefUnwindSafe for ResolvedDisk
impl Send for ResolvedDisk
impl Sync for ResolvedDisk
impl Unpin for ResolvedDisk
impl !UnwindSafe for ResolvedDisk
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