pub enum ChannelState {
Init,
Config,
Control,
Gather,
Closed,
}Expand description
State of a PropagationChannel’s finite state machine.
Variants§
Init
Initial state — channel not yet opened.
Config
Configuration sent, waiting for ACK.
Control
Control message sent, waiting for ACK.
Gather
Gathering results from the subtree.
Closed
Channel is closed.
Trait Implementations§
Source§impl Clone for ChannelState
impl Clone for ChannelState
impl Copy for ChannelState
Source§impl Debug for ChannelState
impl Debug for ChannelState
impl Eq for ChannelState
Source§impl PartialEq for ChannelState
impl PartialEq for ChannelState
impl StructuralPartialEq for ChannelState
Auto Trait Implementations§
impl Freeze for ChannelState
impl RefUnwindSafe for ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnsafeUnpin for ChannelState
impl UnwindSafe for ChannelState
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