pub struct UdpEp(pub(crate) sock_udp_ep_t);
Available on
riot_module_sock
only.Expand description
Wrappers for elements of the Sock API
Tuple Fields§
§0: sock_udp_ep_t
Implementations§
Trait Implementations§
Source§impl AsMut<_sock_tl_ep> for UdpEp
impl AsMut<_sock_tl_ep> for UdpEp
Source§fn as_mut(&mut self) -> &mut sock_udp_ep_t
fn as_mut(&mut self) -> &mut sock_udp_ep_t
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<_sock_tl_ep> for UdpEp
impl AsMut<_sock_tl_ep> for UdpEp
Source§fn as_mut(&mut self) -> &mut sock_udp_ep_t
fn as_mut(&mut self) -> &mut sock_udp_ep_t
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<_sock_tl_ep> for UdpEp
impl AsRef<_sock_tl_ep> for UdpEp
Source§fn as_ref(&self) -> &sock_udp_ep_t
fn as_ref(&self) -> &sock_udp_ep_t
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<_sock_tl_ep> for UdpEp
impl AsRef<_sock_tl_ep> for UdpEp
Source§fn as_ref(&self) -> &sock_udp_ep_t
fn as_ref(&self) -> &sock_udp_ep_t
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl From<_sock_tl_ep> for UdpEp
impl From<_sock_tl_ep> for UdpEp
Source§fn from(ep: sock_udp_ep_t) -> Self
fn from(ep: sock_udp_ep_t) -> Self
Converts to this type from the input type.
Source§impl From<_sock_tl_ep> for UdpEp
impl From<_sock_tl_ep> for UdpEp
Source§fn from(ep: sock_udp_ep_t) -> Self
fn from(ep: sock_udp_ep_t) -> Self
Converts to this type from the input type.
Source§impl Into<SocketAddr> for &UdpEp
Available on crate feature with_embedded_nal
only.
impl Into<SocketAddr> for &UdpEp
Available on crate feature
with_embedded_nal
only.Source§fn into(self) -> SocketAddr
fn into(self) -> SocketAddr
Converts this type into the (usually inferred) input type.
Source§impl Into<SocketAddr> for &UdpEp
Available on crate feature with_embedded_nal_async
only.
impl Into<SocketAddr> for &UdpEp
Available on crate feature
with_embedded_nal_async
only.Source§fn into(self) -> SocketAddr
fn into(self) -> SocketAddr
Converts this type into the (usually inferred) input type.
Source§impl Into<SocketAddr> for UdpEp
Available on crate feature with_embedded_nal
only.
impl Into<SocketAddr> for UdpEp
Available on crate feature
with_embedded_nal
only.Source§fn into(self) -> SocketAddr
fn into(self) -> SocketAddr
Converts this type into the (usually inferred) input type.
Source§impl Into<SocketAddr> for UdpEp
Available on crate feature with_embedded_nal_async
only.
impl Into<SocketAddr> for UdpEp
Available on crate feature
with_embedded_nal_async
only.Source§fn into(self) -> SocketAddr
fn into(self) -> SocketAddr
Converts this type into the (usually inferred) input type.
Source§impl Into<UdpEp> for &SocketAddr
Available on crate feature with_embedded_nal
only.
impl Into<UdpEp> for &SocketAddr
Available on crate feature
with_embedded_nal
only.Source§impl Into<UdpEp> for &SocketAddr
Available on crate feature with_embedded_nal_async
only.
impl Into<UdpEp> for &SocketAddr
Available on crate feature
with_embedded_nal_async
only.Source§impl Into<UdpEp> for SocketAddr
Available on crate feature with_embedded_nal
only.
impl Into<UdpEp> for SocketAddr
Available on crate feature
with_embedded_nal
only.Source§impl Into<UdpEp> for SocketAddr
Available on crate feature with_embedded_nal_async
only.
impl Into<UdpEp> for SocketAddr
Available on crate feature
with_embedded_nal_async
only.Source§impl Into<_sock_tl_ep> for UdpEp
impl Into<_sock_tl_ep> for UdpEp
Source§fn into(self) -> sock_udp_ep_t
fn into(self) -> sock_udp_ep_t
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for UdpEp
impl RefUnwindSafe for UdpEp
impl Send for UdpEp
impl Sync for UdpEp
impl Unpin for UdpEp
impl UnwindSafe for UdpEp
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
Source§impl<T> IntoSwitch for T
impl<T> IntoSwitch for T
Source§fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
Source§fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes