pub type LinkVerdict = Result<(), Cow<'static, str>>;Expand description
Outcome of asking the consumer whether a link is valid.
Ok(()) if the connection is allowed, or Err(reason) with a short
human-readable explanation if not. The widget never inspects why a link is
valid — any implicit-conversion styling falls out of the ports’ own colors,
not from this result.
Aliased Type§
pub enum LinkVerdict {
Ok(()),
Err(Cow<'static, str>),
}