#[repr(C)]pub struct Socket<S, T, N>{ /* private fields */ }Implementations§
Source§impl<S, T, N> Socket<S, T, N>
impl<S, T, N> Socket<S, T, N>
pub const fn new( net: N::Target, key: Key, attrs: Attributes, sto: S, name: Option<&str>, ) -> Self
pub fn attach<'a>(self: Pin<&'a mut Self>) -> SocketHdl<'a, S, T, N>
pub fn attach_broadcast<'a>(self: Pin<&'a mut Self>) -> SocketHdl<'a, S, T, N>
pub fn stack(&self) -> N::Target
Trait Implementations§
Auto Trait Implementations§
impl<S, T, N> !Freeze for Socket<S, T, N>
impl<S, T, N> !RefUnwindSafe for Socket<S, T, N>
impl<S, T, N> Send for Socket<S, T, N>
impl<S, T, N> !Sync for Socket<S, T, N>
impl<S, T, N> !Unpin for Socket<S, T, N>
impl<S, T, N> !UnwindSafe for Socket<S, T, N>
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