Skip to main content

Kind

Trait Kind 

Source
pub trait Kind:
    Copy
    + Eq
    + Ord
    + Hash
    + Display
    + Send
    + Sync
    + 'static { }
Expand description

Which fact an event reports, and what a subscription list is written in.

Display is what appears in the CloudEvents type, so it is part of an application’s public contract with its consumers.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Kind for T
where T: Copy + Eq + Ord + Hash + Display + Send + Sync + 'static,