pub enum RouteStatus {
Routed,
MissingEndpoint,
WaypointEndpoint,
SameEndpoint,
NoSegments,
NoRoute,
PortReuse,
}Expand description
Why a connection is or is not routed.
Variants§
Routed
Routed through the network.
MissingEndpoint
from or to is empty or names no port in the scene.
WaypointEndpoint
from or to is a waypoint (a pass-through, never a cable end).
SameEndpoint
from and to are the same port.
NoSegments
The network has no segment at all.
NoRoute
No sided path joins the two ports.
PortReuse
Every path joining the two ports passes through one port twice.
Implementations§
Trait Implementations§
Source§impl Clone for RouteStatus
impl Clone for RouteStatus
Source§fn clone(&self) -> RouteStatus
fn clone(&self) -> RouteStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RouteStatus
Source§impl Debug for RouteStatus
impl Debug for RouteStatus
Source§impl<'de> Deserialize<'de> for RouteStatus
impl<'de> Deserialize<'de> for RouteStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RouteStatus
Source§impl PartialEq for RouteStatus
impl PartialEq for RouteStatus
Source§impl Serialize for RouteStatus
impl Serialize for RouteStatus
impl StructuralPartialEq for RouteStatus
Auto Trait Implementations§
impl Freeze for RouteStatus
impl RefUnwindSafe for RouteStatus
impl Send for RouteStatus
impl Sync for RouteStatus
impl Unpin for RouteStatus
impl UnsafeUnpin for RouteStatus
impl UnwindSafe for RouteStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.