pub struct Topic(/* private fields */);Implementations§
Source§impl Topic
impl Topic
Sourcepub fn named(schema: &str, table: &str) -> Self
pub fn named(schema: &str, table: &str) -> Self
FNV-1a, stable across builds, so instances running different versions agree.
pub fn of<A: Aggregate>() -> Self
Sourcepub fn remote(app: &str) -> Self
pub fn remote(app: &str) -> Self
Coarse: every event pulled from that app refreshes each screen that read through it.
pub fn parse(hex: &str) -> Option<Self>
Trait Implementations§
impl Copy for Topic
impl Eq for Topic
Source§impl Ord for Topic
impl Ord for Topic
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Topic
impl PartialOrd for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Forget for Topic
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnsafeUnpin for Topic
impl UnwindSafe for Topic
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