pub enum NodeMeasurementError {
MissingNode(NodeId),
InvalidSize {
node: NodeId,
size: CanvasSize,
},
InvalidHandle {
node: NodeId,
handle: ConnectionHandleRef,
},
InvalidHandleBounds {
node: NodeId,
handle: ConnectionHandleRef,
},
}Variants§
Trait Implementations§
Source§impl Debug for NodeMeasurementError
impl Debug for NodeMeasurementError
Source§impl Display for NodeMeasurementError
impl Display for NodeMeasurementError
Source§impl Error for NodeMeasurementError
impl Error for NodeMeasurementError
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 NodeMeasurementError
impl RefUnwindSafe for NodeMeasurementError
impl Send for NodeMeasurementError
impl Sync for NodeMeasurementError
impl Unpin for NodeMeasurementError
impl UnsafeUnpin for NodeMeasurementError
impl UnwindSafe for NodeMeasurementError
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