Struct riot_wrappers::socket_embedded_nal_tcp::Socket
source · pub struct Socket<'a> { /* private fields */ }
Available on
riot_module_sock_tcp
and crate feature with_embedded_nal
only.Expand description
Socket for a given pool.
The lifetime is used as branding to ensure sockets are always used with their respective stacks.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Socket<'a>
impl<'a> Send for Socket<'a>
impl<'a> Sync for Socket<'a>
impl<'a> Unpin for Socket<'a>
impl<'a> UnwindSafe for Socket<'a>
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