pub enum MemoryRegion {
Private,
Team,
Public,
Collaborative,
}Expand description
Type of memory region.
Variants§
Private
Only owning agent can access
Team
Agents in same team can access
Public
Any agent can read, owner can write
Collaborative
Any agent can read/write with coordination
Trait Implementations§
Source§impl Clone for MemoryRegion
impl Clone for MemoryRegion
Source§fn clone(&self) -> MemoryRegion
fn clone(&self) -> MemoryRegion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for MemoryRegion
impl ComposeSchema for MemoryRegion
Source§impl Debug for MemoryRegion
impl Debug for MemoryRegion
Source§impl<'de> Deserialize<'de> for MemoryRegion
impl<'de> Deserialize<'de> for MemoryRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MemoryRegion
impl Hash for MemoryRegion
Source§impl PartialEq for MemoryRegion
impl PartialEq for MemoryRegion
Source§impl Serialize for MemoryRegion
impl Serialize for MemoryRegion
Source§impl ToSchema for MemoryRegion
impl ToSchema for MemoryRegion
impl Copy for MemoryRegion
impl Eq for MemoryRegion
impl StructuralPartialEq for MemoryRegion
Auto Trait Implementations§
impl Freeze for MemoryRegion
impl RefUnwindSafe for MemoryRegion
impl Send for MemoryRegion
impl Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnwindSafe for MemoryRegion
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.