Skip to main content

ChangesFeed

Struct ChangesFeed 

Source
pub struct ChangesFeed {
    pub database: DatabaseKind,
    pub external: bool,
}
Expand description

A CHANGE FEED as an edge’s intake: which database’s feed, and whose hand fills it.

§The feeder is part of the word, because it is the one fact a feed cannot report

A change feed says what arrived; it never says who put it there. So somebody lands into that store is a claim the declaration makes and the launch walk holds it to — absent external it is a claim about THIS graph, and a deployment where nothing lands into the watched store earns the three-road refusal rather than a listener that waits forever reporting nothing.

external says the hand is outside this process, and with that the two-process shape is a first-class citizen: the dependence reads in the declaration, and the check stands down because the answer is somewhere the walk cannot look.

§The database is NAMED, and a bare changes is refused

Which databases an upstream stores in is the UPSTREAM’s declaration, and two macro expansions cannot see each other — so a bare changes would be a word this grammar could not resolve and would have to guess at. The refusal says so, which is the same wall every referring word in this grammar is on the other side of.

Fields§

§database: DatabaseKind

Which database’s feed — one block, per the axis law that puts per-database knobs inside the database’s own block.

§external: bool

external — the hand that fills the watched store is outside this process.

Trait Implementations§

Source§

impl Clone for ChangesFeed

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ChangesFeed

Source§

impl Debug for ChangesFeed

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ChangesFeed

Source§

impl PartialEq for ChangesFeed

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ChangesFeed

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.