#[repr(u32)]pub enum ControlRequestId {
_PingV1 = 1,
AgentRegisterV1 = 2,
AgentKeepAliveV1 = 3,
SetupUdpChannelV1 = 4,
AgentCheckPortMappingV1 = 5,
PingV2 = 6,
AgentRegisterV2 = 7,
END = 8,
}Variants§
_PingV1 = 1
AgentRegisterV1 = 2
AgentKeepAliveV1 = 3
SetupUdpChannelV1 = 4
AgentCheckPortMappingV1 = 5
PingV2 = 6
AgentRegisterV2 = 7
END = 8
Implementations§
Trait Implementations§
Source§impl Clone for ControlRequestId
impl Clone for ControlRequestId
Source§fn clone(&self) -> ControlRequestId
fn clone(&self) -> ControlRequestId
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 moreimpl Copy for ControlRequestId
impl Eq for ControlRequestId
Source§impl Hash for ControlRequestId
impl Hash for ControlRequestId
Source§impl MessageEncoding for ControlRequestId
impl MessageEncoding for ControlRequestId
const STATIC_SIZE: Option<usize>
fn write_to<T: Write>(&self, out: &mut T) -> Result<usize>
fn read_from<T: Read>(read: &mut T) -> Result<Self>
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 ControlRequestId
impl PartialEq for ControlRequestId
Source§fn eq(&self, other: &ControlRequestId) -> bool
fn eq(&self, other: &ControlRequestId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlRequestId
Auto Trait Implementations§
impl Freeze for ControlRequestId
impl RefUnwindSafe for ControlRequestId
impl Send for ControlRequestId
impl Sync for ControlRequestId
impl Unpin for ControlRequestId
impl UnsafeUnpin for ControlRequestId
impl UnwindSafe for ControlRequestId
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