pub enum SocketEndpoint {
IPV4Endpoint(IPV4Endpoint),
IPV6Endpoint(IPV6Endpoint),
LocalEndpoint(LocalEndpoint),
}Variants§
Trait Implementations§
Source§impl Clone for SocketEndpoint
impl Clone for SocketEndpoint
Source§fn clone(&self) -> SocketEndpoint
fn clone(&self) -> SocketEndpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 SocketEndpoint
impl Debug for SocketEndpoint
Source§impl<'de> Deserialize<'de> for SocketEndpoint
impl<'de> Deserialize<'de> for SocketEndpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Pack for SocketEndpoint
impl Pack for SocketEndpoint
Source§impl Serialize for SocketEndpoint
impl Serialize for SocketEndpoint
Source§impl ToSchema for SocketEndpoint
impl ToSchema for SocketEndpoint
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for SocketEndpoint
impl<'a> Unpack<'a> for SocketEndpoint
Source§fn unpack(outer: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(outer: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(outer: &mut FracInputStream<'_>) -> Result<()>
fn verify(outer: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for SocketEndpoint
impl RefUnwindSafe for SocketEndpoint
impl Send for SocketEndpoint
impl Sync for SocketEndpoint
impl Unpin for SocketEndpoint
impl UnsafeUnpin for SocketEndpoint
impl UnwindSafe for SocketEndpoint
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