pub enum PlugError {
NoPlugHappened,
GraphError {
source: Error,
},
}
Expand description
Represents an error that can occur when plugging components together.
Variants§
NoPlugHappened
The socket component had no matching imports for the plugs that were provided
GraphError
An error occurred when building the composition graph
Trait Implementations§
Source§impl Error for PlugError
impl Error for PlugError
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 PlugError
impl RefUnwindSafe for PlugError
impl Send for PlugError
impl Sync for PlugError
impl Unpin for PlugError
impl UnwindSafe for PlugError
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