pub enum BusDirection {
In,
Out,
}Expand description
Which side of a bus-hop edge the queried symbol sits on.
In when the symbol is the edge’s own handler (to), Out when one of
the symbol’s own declaring files is the edge’s publish site
(from_file). Carried on the row itself, not left to an inbound/outbound
section to imply – unlike a plain code reference, a bus-hop row names
both ends of the edge regardless of which side the query started from.
Variants§
In
A message reaches the queried symbol.
Out
The queried symbol’s own file publishes a message a handler elsewhere receives.
Implementations§
Trait Implementations§
Source§impl Clone for BusDirection
impl Clone for BusDirection
impl Copy for BusDirection
Source§impl Debug for BusDirection
impl Debug for BusDirection
impl Eq for BusDirection
Source§impl PartialEq for BusDirection
impl PartialEq for BusDirection
impl StructuralPartialEq for BusDirection
Auto Trait Implementations§
impl Freeze for BusDirection
impl RefUnwindSafe for BusDirection
impl Send for BusDirection
impl Sync for BusDirection
impl Unpin for BusDirection
impl UnsafeUnpin for BusDirection
impl UnwindSafe for BusDirection
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more