pub enum DirectErrKind {
None,
ModStatus,
CustomEnum(String),
String,
}Expand description
Error channel of a Direct-First method return.
Variants§
None
Bare infallible return (impl = "rust" only).
ModStatus
Result<_, NvModStatus> (negative i32 return code).
CustomEnum(String)
Result<_, CustomNegEnum> (negative i32 #[repr(i32)] error enum).
String
Result<_, String> (negative i32 return code + on_err: NvBytesSink UTF-8 detail).
Trait Implementations§
Source§impl Clone for DirectErrKind
impl Clone for DirectErrKind
Source§fn clone(&self) -> DirectErrKind
fn clone(&self) -> DirectErrKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectErrKind
impl Debug for DirectErrKind
impl Eq for DirectErrKind
Source§impl PartialEq for DirectErrKind
impl PartialEq for DirectErrKind
impl StructuralPartialEq for DirectErrKind
Auto Trait Implementations§
impl Forget for DirectErrKind
impl Freeze for DirectErrKind
impl Move for DirectErrKind
impl RefUnwindSafe for DirectErrKind
impl Send for DirectErrKindwhere
RawVecInner: Send,
impl Sync for DirectErrKindwhere
RawVecInner: Sync,
impl Unpin for DirectErrKind
impl UnsafeUnpin for DirectErrKind
impl UnwindSafe for DirectErrKindwhere
RawVecInner: UnwindSafe,
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