pub struct Edge {
pub src: EntityId,
pub dst: EntityId,
pub backtrace: BacktraceId,
pub kind: EdgeKind,
}Expand description
Relationship between two entities.
Fields§
§src: EntityIdSource entity in the causal relationship.
dst: EntityIdDestination entity in the causal relationship.
backtrace: BacktraceIdBacktrace when this edge was created
kind: EdgeKindCausal edge kind.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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