pub trait NetStackHandle{
type Target: Deref<Target = NetStack<Self::Mutex, Self::Profile>> + Clone;
type Mutex: ScopedRawMutex;
type Profile: Profile;
// Required method
fn stack(&self) -> Self::Target;
}Required Associated Types§
type Target: Deref<Target = NetStack<Self::Mutex, Self::Profile>> + Clone
type Mutex: ScopedRawMutex
type Profile: Profile
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<R, P> NetStackHandle for Arc<NetStack<R, P>>where
R: ScopedRawMutex,
P: Profile,
Available on crate feature std only.
impl<R, P> NetStackHandle for Arc<NetStack<R, P>>where
R: ScopedRawMutex,
P: Profile,
Available on crate feature
std only.