Inline socket function implementations

This commit is contained in:
Konrad Borowski 2023-05-01 13:27:02 +02:00
parent 174c0e86ca
commit 3abc30719e
3 changed files with 9 additions and 0 deletions

View file

@ -184,6 +184,7 @@ pub mod net {
unimpl!();
}
#[inline]
pub fn socket(&self) -> &Socket {
&self.inner
}
@ -306,6 +307,7 @@ pub mod net {
unimpl!();
}
#[inline]
pub fn socket(&self) -> &Socket {
&self.inner
}
@ -372,6 +374,7 @@ pub mod net {
unimpl!();
}
#[inline]
pub fn socket(&self) -> &Socket {
&self.inner
}