pub struct Receive { /* private fields */ }Implementations§
Source§impl Receive
impl Receive
pub const DEFAULT: Self
pub const MIN_DATAGRAM_SLOT: NonZero
pub const fn fixed<const ENTRIES: u16, const LEN: u32>() -> Self
pub fn resolve(self, need: Receive) -> Result<Self, Claim>
pub fn exact(need: Receive) -> Result<Self, Claim>
pub const fn buffers(self) -> Buffers
Sourcepub const fn buffer_len(self) -> NonZero
pub const fn buffer_len(self) -> NonZero
Returns the positive slot length proven representable by every backend.
Trait Implementations§
impl Copy for Receive
impl Eq for Receive
impl StructuralPartialEq for Receive
Auto Trait Implementations§
impl Forget for Receive
impl Freeze for Receive
impl RefUnwindSafe for Receive
impl Send for Receive
impl Sync for Receive
impl Unpin for Receive
impl UnsafeUnpin for Receive
impl UnwindSafe for Receive
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