pub enum FlowError {
ComponentAlreadyExist {
id: Id,
},
ComponentNotFound {
id: Id,
},
ConnectionAlreadyExist {
connection: Connection,
},
LoopCreated {
connection: Connection,
},
InPortNotFound {
component: Id,
in_port: PortId,
},
OutPortNotFound {
component: Id,
out_port: PortId,
},
QueueNotCreated {
component: Id,
port: PortId,
},
AnyPackageConsumed {
component: Id,
},
CannotAccessGlobal,
}
Variants§
ComponentAlreadyExist
ComponentNotFound
ConnectionAlreadyExist
Fields
§
connection: Connection
LoopCreated
Fields
§
connection: Connection
InPortNotFound
OutPortNotFound
QueueNotCreated
AnyPackageConsumed
CannotAccessGlobal
Trait Implementations§
Source§impl Error for FlowError
impl Error for FlowError
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 FlowError
impl RefUnwindSafe for FlowError
impl Send for FlowError
impl Sync for FlowError
impl Unpin for FlowError
impl UnwindSafe for FlowError
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