pub struct PhaseViolationError {
pub root_id: usize,
pub phase: BufferPhase,
pub operation: &'static str,
}Fields§
§root_id: usize§phase: BufferPhase§operation: &'static strTrait Implementations§
Source§impl Debug for PhaseViolationError
impl Debug for PhaseViolationError
Source§impl Display for PhaseViolationError
impl Display for PhaseViolationError
Source§impl Error for PhaseViolationError
impl Error for PhaseViolationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Freeze for PhaseViolationError
impl RefUnwindSafe for PhaseViolationError
impl Send for PhaseViolationError
impl Sync for PhaseViolationError
impl Unpin for PhaseViolationError
impl UnsafeUnpin for PhaseViolationError
impl UnwindSafe for PhaseViolationError
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