pub enum ChannelStatus {
NotRegistered,
Active {
origin: ChannelOrigin,
mode: ChannelMode,
schema: SchemaId,
},
Quiesced {
reason: String,
origin: ChannelOrigin,
mode: ChannelMode,
},
}Expand description
The probe’s typed answer.
A carrier-waits protocol keys its backoff on this and nothing else: each answer is a distinct constructor, so a consumer reports which one it saw without a string in sight.
Variants§
NotRegistered
No entry of this name is on the roster.
Active
The channel is on the roster and admitting.
Fields
§
origin: ChannelOriginWhere the entry came from, and therefore what a restart does to it.
§
mode: ChannelModeDurable or ephemeral, read back off the live entry.
Quiesced
The channel is on the roster and refusing new access.
Fields
§
origin: ChannelOriginWhere the entry came from, and therefore what a restart does to it.
§
mode: ChannelModeDurable or ephemeral, read back off the live entry.
Trait Implementations§
Source§impl Clone for ChannelStatus
impl Clone for ChannelStatus
Source§fn clone(&self) -> ChannelStatus
fn clone(&self) -> ChannelStatus
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 ChannelStatus
impl Debug for ChannelStatus
impl Eq for ChannelStatus
Source§impl PartialEq for ChannelStatus
impl PartialEq for ChannelStatus
impl StructuralPartialEq for ChannelStatus
Auto Trait Implementations§
impl Freeze for ChannelStatus
impl RefUnwindSafe for ChannelStatus
impl Send for ChannelStatus
impl Sync for ChannelStatus
impl Unpin for ChannelStatus
impl UnsafeUnpin for ChannelStatus
impl UnwindSafe for ChannelStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.