pub trait IntoSource {
type Source;
// Required method
fn into_source(self) -> Self::Source;
}Expand description
What a value-definition constructor accepts as its subscription source.
A subject string builds the broker-agnostic by-name source (Name); a source value passes
through unchanged, so a broker’s own descriptor mounts the same way. Broker crates implement
this for their descriptors next to their
SubscriptionSource impls.
Required Associated Types§
Required Methods§
Sourcefn into_source(self) -> Self::Source
fn into_source(self) -> Self::Source
Builds the source.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntoSource for Cow<'static, str>
impl IntoSource for Cow<'static, str>
Implementors§
Source§impl IntoSource for MemoryPattern
Available on crate feature memory only.
impl IntoSource for MemoryPattern
Available on crate feature
memory only.type Source = MemoryPattern
Source§impl IntoSource for MemorySource
Available on crate feature memory only.
impl IntoSource for MemorySource
Available on crate feature
memory only.