pub struct ExpectedRegion { /* private fields */ }Expand description
Receiver-owned coordinator-relative metadata fixed before capability I/O.
Implementations§
Source§impl ExpectedRegion
impl ExpectedRegion
Sourcepub const fn new(
id: RegionId,
writer: WriterEndpoint,
logical_len: usize,
) -> Self
pub const fn new( id: RegionId, writer: WriterEndpoint, logical_len: usize, ) -> Self
Fixes the expected identity, coordinator-relative writer, and length.
Sourcepub const fn writer(self) -> WriterEndpoint
pub const fn writer(self) -> WriterEndpoint
Expected coordinator-relative writer direction.
Sourcepub const fn logical_len(self) -> usize
pub const fn logical_len(self) -> usize
Expected logical application-visible length.
Trait Implementations§
Source§impl Clone for ExpectedRegion
impl Clone for ExpectedRegion
Source§fn clone(&self) -> ExpectedRegion
fn clone(&self) -> ExpectedRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpectedRegion
Source§impl Debug for ExpectedRegion
impl Debug for ExpectedRegion
impl Eq for ExpectedRegion
Source§impl PartialEq for ExpectedRegion
impl PartialEq for ExpectedRegion
impl StructuralPartialEq for ExpectedRegion
Auto Trait Implementations§
impl Freeze for ExpectedRegion
impl RefUnwindSafe for ExpectedRegion
impl Send for ExpectedRegion
impl Sync for ExpectedRegion
impl Unpin for ExpectedRegion
impl UnsafeUnpin for ExpectedRegion
impl UnwindSafe for ExpectedRegion
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