pub struct Cut {
pub to: SigId,
pub from: SigId,
pub carries: Ty,
pub id: String,
}Expand description
A dataflow edge whose two ends are on different tiers.
§4.3: “Every signal edge that crosses tiers becomes a subscription: the server side gets a diff
operator, the client side a resumable (subscription, seq) consumer.” Phase 1 and Phase 2 knew
about exactly one crossing and printed a sentence about it; this enumerates them, and gives each
the content-derived id a resumable subscription is keyed by.
Fields§
§to: SigIdThe consumer — the downstream end, which subscribes.
from: SigIdThe producer — the upstream end, which diffs and streams.
carries: Ty§id: Stringblake3(module, producer, consumer, structural(carried))[..16], by the same rule as the
command channel’s operation id: content, not names a human maintains.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cut
impl RefUnwindSafe for Cut
impl Send for Cut
impl Sync for Cut
impl Unpin for Cut
impl UnwindSafe for Cut
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