pub struct RegionSpec {
pub role: RoleId,
pub writer: Endpoint,
pub slot_count: u32,
pub payload_bytes: u32,
pub acknowledgement_count: u32,
}Expand description
Capacity of one independently permissioned region.
Fields§
§role: RoleIdNumeric role unique within the connection.
writer: EndpointSole endpoint allowed to write this region.
slot_count: u32Number of fixed-capacity ring slots.
payload_bytes: u32Maximum opaque payload bytes in each slot.
acknowledgement_count: u32Number of independently routed acknowledgement cells.
Trait Implementations§
Source§impl Clone for RegionSpec
impl Clone for RegionSpec
Source§fn clone(&self) -> RegionSpec
fn clone(&self) -> RegionSpec
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 RegionSpec
Source§impl Debug for RegionSpec
impl Debug for RegionSpec
impl Eq for RegionSpec
Source§impl PartialEq for RegionSpec
impl PartialEq for RegionSpec
impl StructuralPartialEq for RegionSpec
Auto Trait Implementations§
impl Freeze for RegionSpec
impl RefUnwindSafe for RegionSpec
impl Send for RegionSpec
impl Sync for RegionSpec
impl Unpin for RegionSpec
impl UnsafeUnpin for RegionSpec
impl UnwindSafe for RegionSpec
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