pub enum ControlResponse {
Pong(Pong),
InvalidSignature,
Unauthorized,
RequestQueued,
TryAgainLater,
AgentRegistered(AgentRegistered),
AgentPortMapping(AgentPortMapping),
UdpChannelDetails(UdpChannelDetails),
}Variants§
Pong(Pong)
InvalidSignature
RequestQueued
TryAgainLater
AgentRegistered(AgentRegistered)
AgentPortMapping(AgentPortMapping)
UdpChannelDetails(UdpChannelDetails)
Trait Implementations§
Source§impl Clone for ControlResponse
impl Clone for ControlResponse
Source§fn clone(&self) -> ControlResponse
fn clone(&self) -> ControlResponse
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 ControlResponse
impl Debug for ControlResponse
impl Eq for ControlResponse
Source§impl MessageEncoding for ControlResponse
impl MessageEncoding for ControlResponse
fn write_to<T: Write>(&self, out: &mut T) -> Result<usize>
fn read_from<T: Read>(read: &mut T) -> Result<Self>
const STATIC_SIZE: Option<usize> = None
const MAX_SIZE: Option<usize> = Self::STATIC_SIZE
const _ASSERT: usize = _
Source§fn static_size() -> Option<usize>
fn static_size() -> Option<usize>
👎Deprecated
Source§impl PartialEq for ControlResponse
impl PartialEq for ControlResponse
Source§fn eq(&self, other: &ControlResponse) -> bool
fn eq(&self, other: &ControlResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlResponse
impl Serialize for ControlResponse
impl StructuralPartialEq for ControlResponse
Auto Trait Implementations§
impl Freeze for ControlResponse
impl RefUnwindSafe for ControlResponse
impl Send for ControlResponse
impl Sync for ControlResponse
impl Unpin for ControlResponse
impl UnsafeUnpin for ControlResponse
impl UnwindSafe for ControlResponse
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