pub enum LinkInd<P> {
Deliver {
from: NodeId,
msg: P,
},
Boundary(Boundary),
}Expand description
What an indication from any link amounts to, in the port’s own vocabulary.
The layer above matches on this rather than on the link’s own indication type, which is how one implementation of a broadcast serves every link.
Variants§
Deliver
A message arrived.
Boundary(Boundary)
The scope the link’s guarantees hold within changed. Only a link that can observe one ever reports this.
Trait Implementations§
impl<P: Eq> Eq for LinkInd<P>
Source§impl<P: PartialEq> PartialEq for LinkInd<P>
impl<P: PartialEq> PartialEq for LinkInd<P>
impl<P: PartialEq> StructuralPartialEq for LinkInd<P>
Auto Trait Implementations§
impl<P> Freeze for LinkInd<P>where
P: Freeze,
impl<P> RefUnwindSafe for LinkInd<P>where
P: RefUnwindSafe,
impl<P> Send for LinkInd<P>where
P: Send,
impl<P> Sync for LinkInd<P>where
P: Sync,
impl<P> Unpin for LinkInd<P>where
P: Unpin,
impl<P> UnsafeUnpin for LinkInd<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for LinkInd<P>where
P: UnwindSafe,
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