Enum ractor_cluster::node::SessionCheckReply
source · pub enum SessionCheckReply {
NoOtherConnection,
OtherConnectionContinues,
ThisConnectionContinues,
DuplicateConnection,
}
Expand description
Reply to a NodeServerMessage::CheckSession message
Variants§
NoOtherConnection
There is no other connection with this peer
OtherConnectionContinues
There is another connection with this peer, and it should continue. Shutdown this connection.
ThisConnectionContinues
There is another connection with this peer, but this connection should take over. Terminating the other connection
DuplicateConnection
There is another connection with the peer, in the same format as this attempted connection. Perhaps the other connection is dying or the peer is confused
Auto Trait Implementations§
impl Freeze for SessionCheckReply
impl RefUnwindSafe for SessionCheckReply
impl Send for SessionCheckReply
impl Sync for SessionCheckReply
impl Unpin for SessionCheckReply
impl UnwindSafe for SessionCheckReply
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