pub enum ViewError {
InvalidRange,
Unsupported,
}Expand description
Error when taking a view into an allocation.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViewError
impl RefUnwindSafe for ViewError
impl Send for ViewError
impl Sync for ViewError
impl Unpin for ViewError
impl UnsafeUnpin for ViewError
impl UnwindSafe for ViewError
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