pub enum NodeActionError {
ElementNotEnabled(ElementNotEnabledException),
InvalidOperation(String),
NotSupported(String),
}Expand description
Why an action of a node was not performed. The access helper answers the system with “not performed” for each of them.
Variants§
ElementNotEnabled(ElementNotEnabledException)
The element of the peer is not enabled.
InvalidOperation(String)
The peer cannot do what was asked in its state.
NotSupported(String)
The peer does not support what was asked.
Trait Implementations§
Source§impl Debug for NodeActionError
impl Debug for NodeActionError
Source§impl Display for NodeActionError
impl Display for NodeActionError
Source§impl Error for NodeActionError
impl Error for NodeActionError
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()
Source§impl From<ElementNotEnabledException> for NodeActionError
impl From<ElementNotEnabledException> for NodeActionError
Source§fn from(error: ElementNotEnabledException) -> Self
fn from(error: ElementNotEnabledException) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeActionError
impl RefUnwindSafe for NodeActionError
impl Send for NodeActionError
impl Sync for NodeActionError
impl Unpin for NodeActionError
impl UnsafeUnpin for NodeActionError
impl UnwindSafe for NodeActionError
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more