pub struct NewClient {
pub connect_addr: SocketAddr,
pub peer_addr: SocketAddr,
pub data_center_id: u32,
pub tunnel_id: u64,
pub port_offset: u16,
pub claim_instructions: ClaimInstructions,
}Fields§
§connect_addr: SocketAddr§peer_addr: SocketAddr§data_center_id: u32§tunnel_id: u64§port_offset: u16§claim_instructions: ClaimInstructionsTrait Implementations§
impl Eq for NewClient
Source§impl From<NewClientOld> for NewClient
impl From<NewClientOld> for NewClient
Source§fn from(value: NewClientOld) -> Self
fn from(value: NewClientOld) -> Self
Converts to this type from the input type.
Source§impl MessageEncoding for NewClient
impl MessageEncoding for NewClient
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
impl StructuralPartialEq for NewClient
Auto Trait Implementations§
impl Freeze for NewClient
impl RefUnwindSafe for NewClient
impl Send for NewClient
impl Sync for NewClient
impl Unpin for NewClient
impl UnsafeUnpin for NewClient
impl UnwindSafe for NewClient
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