pub struct DeviceMemoryManagerInstallationError { /* private fields */ }Expand description
Failure from an explicit install together with the exact native record returned by that same locked transaction, when one was available.
Implementations§
Source§impl DeviceMemoryManagerInstallationError
impl DeviceMemoryManagerInstallationError
Sourcepub fn error(&self) -> &Error
pub fn error(&self) -> &Error
The ordinary cudf error for callers that do not need recovery state.
Sourcepub fn installation_state(&self) -> Option<DeviceMemoryManagerInstallationState>
pub fn installation_state(&self) -> Option<DeviceMemoryManagerInstallationState>
The authoritative record returned by the rejected native transaction.
This is None when Rust callback-ownership checks or native validation
reject before the install transaction reaches its registry, or when
the native record itself violates its ABI contract. A preliminary
diagnostic inspection does not supply transactional installation state.
Sourcepub fn into_error(self) -> Error
pub fn into_error(self) -> Error
Discard the optional installation state and recover the ordinary error.
Trait Implementations§
Source§impl Error for DeviceMemoryManagerInstallationError
impl Error for DeviceMemoryManagerInstallationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceMemoryManagerInstallationError
impl !UnwindSafe for DeviceMemoryManagerInstallationError
impl Freeze for DeviceMemoryManagerInstallationError
impl Send for DeviceMemoryManagerInstallationError
impl Sync for DeviceMemoryManagerInstallationError
impl Unpin for DeviceMemoryManagerInstallationError
impl UnsafeUnpin for DeviceMemoryManagerInstallationError
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