Struct contiguous_mem::error::RegionBorrowed
source · pub struct RegionBorrowed {
pub range: ByteRange,
}Expand description
Error returned when concurrent mutable access is attempted to the same memory region.
Fields§
§range: ByteRangeByteRange that was attempted to be borrowed.
Trait Implementations§
source§impl Debug for RegionBorrowed
impl Debug for RegionBorrowed
source§impl Display for RegionBorrowed
Available on crate features std or error_in_core only.
impl Display for RegionBorrowed
Available on crate features
std or error_in_core only.source§impl Error for RegionBorrowed
Available on crate features std or error_in_core only.
impl Error for RegionBorrowed
Available on crate features
std or error_in_core only.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
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 RegionBorrowed
impl Send for RegionBorrowed
impl Sync for RegionBorrowed
impl Unpin for RegionBorrowed
impl UnwindSafe for RegionBorrowed
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