#[repr(u8)]pub enum ToUnknown {
SendClusters = 0,
VerifyCluster = 1,
CreateCluster = 2,
}Variants§
SendClusters = 0
Sends a list of cluster servers containing their name, ip, and port.
VerifyCluster = 1
Generates a passphrase that’s encrypted with AES and sends it waiting for it to be sent back. It’s stored in their name.
CreateCluster = 2
Once validated, the cluster is moved to the cluster list and notifies them that they’re now a cluster.
Auto Trait Implementations§
impl Freeze for ToUnknown
impl RefUnwindSafe for ToUnknown
impl Send for ToUnknown
impl Sync for ToUnknown
impl Unpin for ToUnknown
impl UnwindSafe for ToUnknown
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