pub enum CopyError<S, D> {
OutOfSrcBounds {
size: S,
copy_end: S,
},
OutOfDstBounds {
size: D,
copy_end: D,
},
Overlap {
src_offset: usize,
dst_offset: usize,
size: usize,
},
NoSrcBindFlag,
NoDstBindFlag,
}
Expand description
An error occuring in memory copies.
Variants§
Trait Implementations§
source§impl<S, D> Error for CopyError<S, D>where
S: Debug + Display,
D: Debug + Display,
impl<S, D> Error for CopyError<S, D>where S: Debug + Display, D: Debug + Display,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more