pub struct StreamDecl {
pub name: Ident,
pub members: Vec<Ident>,
pub staleness_seconds: Option<u64>,
pub span: SourceSpan,
}Expand description
stream <name> { members [<agent>, ...] [staleness <duration>] }
(std.vcs; DR-0052 Decision 5): a declared collaboration — a named
shared line whose member agents’ session lines home to it, syncing
greedily in-stream and promoting to mainline through one gated
boundary. Members are agent declarations (every session of that
agent homes here); staleness is the §7.1 bound. Metadata-only
lowering, like queue/channel; the runtime workstream tier is the
enforcement seam.
Fields§
§name: Ident§members: Vec<Ident>§staleness_seconds: Option<u64>§span: SourceSpanTrait Implementations§
Source§impl Clone for StreamDecl
impl Clone for StreamDecl
Source§fn clone(&self) -> StreamDecl
fn clone(&self) -> StreamDecl
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 moreSource§impl Debug for StreamDecl
impl Debug for StreamDecl
impl Eq for StreamDecl
Source§impl PartialEq for StreamDecl
impl PartialEq for StreamDecl
impl StructuralPartialEq for StreamDecl
Auto Trait Implementations§
impl Freeze for StreamDecl
impl RefUnwindSafe for StreamDecl
impl Send for StreamDecl
impl Sync for StreamDecl
impl Unpin for StreamDecl
impl UnsafeUnpin for StreamDecl
impl UnwindSafe for StreamDecl
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