pub struct ResourceOwnershipTransferFailure<R>where
R: DeviceRuntime,{ /* private fields */ }Implementations§
Source§impl<R> ResourceOwnershipTransferFailure<R>where
R: DeviceRuntime,
impl<R> ResourceOwnershipTransferFailure<R>where
R: DeviceRuntime,
pub fn new( failure: ResourceDriverFailure, ownership: ResourcePoolOwnership<R>, ) -> Self
pub fn failure(&self) -> &ResourceDriverFailure
pub fn ownership(&self) -> &ResourcePoolOwnership<R>
Auto Trait Implementations§
impl<R> !RefUnwindSafe for ResourceOwnershipTransferFailure<R>
impl<R> !UnwindSafe for ResourceOwnershipTransferFailure<R>
impl<R> Freeze for ResourceOwnershipTransferFailure<R>where
ResourcePoolOwnership<R>: Freeze,
impl<R> Send for ResourceOwnershipTransferFailure<R>where
ResourcePoolOwnership<R>: Send,
impl<R> Sync for ResourceOwnershipTransferFailure<R>where
ResourcePoolOwnership<R>: Sync,
impl<R> Unpin for ResourceOwnershipTransferFailure<R>where
ResourcePoolOwnership<R>: Unpin,
impl<R> UnsafeUnpin for ResourceOwnershipTransferFailure<R>where
ResourcePoolOwnership<R>: UnsafeUnpin,
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