pub enum CopyError {
Encoder(CommandEncoderError),
Transfer(TransferError),
}
Expand description
Error encountered while attempting to do a copy on a command encoder.
Variants
Encoder(CommandEncoderError)
Transfer(TransferError)
Trait Implementations
sourceimpl Error for CopyError
impl Error for CopyError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<CommandEncoderError> for CopyError
impl From<CommandEncoderError> for CopyError
sourcefn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
sourceimpl From<TransferError> for CopyError
impl From<TransferError> for CopyError
sourcefn from(source: TransferError) -> Self
fn from(source: TransferError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for CopyError
impl Send for CopyError
impl Sync for CopyError
impl Unpin for CopyError
impl !UnwindSafe for CopyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more