pub struct ReceivePort<TYPE: Send, const TYPENO: u16> {
_private: (),
_types: PhantomData<TYPE>,
_not_send: PhantomData<*const ()>,
}
Available on
riot_module_core_msg
and crate feature with_msg_v2
only.Expand description
Thread-bound information carrier that indicates that a given type number was reserved for this given content type.
Fields§
§_private: ()
§_types: PhantomData<TYPE>
§_not_send: PhantomData<*const ()>
Trait Implementations§
Auto Trait Implementations§
impl<TYPE, const TYPENO: u16> Freeze for ReceivePort<TYPE, TYPENO>
impl<TYPE, const TYPENO: u16> RefUnwindSafe for ReceivePort<TYPE, TYPENO>where
TYPE: RefUnwindSafe,
impl<TYPE, const TYPENO: u16> !Send for ReceivePort<TYPE, TYPENO>
impl<TYPE, const TYPENO: u16> !Sync for ReceivePort<TYPE, TYPENO>
impl<TYPE, const TYPENO: u16> Unpin for ReceivePort<TYPE, TYPENO>where
TYPE: Unpin,
impl<TYPE, const TYPENO: u16> UnwindSafe for ReceivePort<TYPE, TYPENO>where
TYPE: UnwindSafe,
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: 0 bytes