pub enum InitResponse {
Controller(ControllerInfo),
ControllerReady {
remote_port: u16,
session_id: String,
},
Ok,
Wait {
timeout_secs: u32,
},
}Expand description
INIT response variants
Variants§
Controller(ControllerInfo)
Registration server responded with controller assignment
ControllerReady
Controller responded with remote port and session ID (ready for KEEP)
Ok
Probe key is recognized but not yet fully registered (from reg server)
Wait
Server tells us to wait and retry after timeout seconds
Trait Implementations§
Source§impl Clone for InitResponse
impl Clone for InitResponse
Source§fn clone(&self) -> InitResponse
fn clone(&self) -> InitResponse
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 moreAuto Trait Implementations§
impl Freeze for InitResponse
impl RefUnwindSafe for InitResponse
impl Send for InitResponse
impl Sync for InitResponse
impl Unpin for InitResponse
impl UnsafeUnpin for InitResponse
impl UnwindSafe for InitResponse
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