pub enum LogicalLayoutHandle {
G1,
G2,
G3,
G4,
}Expand description
Logical layout handle type encoding the layout ID.
KVBM manages G1, G2 and G3 layouts directly. G4 is managed by an external service.
Variants§
G1
Representation of GPU / Device Memory
G2
Representation of CPU / Host Memory
G3
Representation of Disk Storage
G4
Representation of Blocks held in an external service outside the control of the KVBM system.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for LogicalLayoutHandle
impl<'__de, __Context> BorrowDecode<'__de, __Context> for LogicalLayoutHandle
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for LogicalLayoutHandle
impl Clone for LogicalLayoutHandle
Source§fn clone(&self) -> LogicalLayoutHandle
fn clone(&self) -> LogicalLayoutHandle
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 LogicalLayoutHandle
Source§impl Debug for LogicalLayoutHandle
impl Debug for LogicalLayoutHandle
Source§impl<__Context> Decode<__Context> for LogicalLayoutHandle
impl<__Context> Decode<__Context> for LogicalLayoutHandle
Source§impl<'de> Deserialize<'de> for LogicalLayoutHandle
impl<'de> Deserialize<'de> for LogicalLayoutHandle
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 Encode for LogicalLayoutHandle
impl Encode for LogicalLayoutHandle
impl Eq for LogicalLayoutHandle
Source§impl Hash for LogicalLayoutHandle
impl Hash for LogicalLayoutHandle
Source§impl PartialEq for LogicalLayoutHandle
impl PartialEq for LogicalLayoutHandle
Source§fn eq(&self, other: &LogicalLayoutHandle) -> bool
fn eq(&self, other: &LogicalLayoutHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LogicalLayoutHandle
impl Serialize for LogicalLayoutHandle
impl StructuralPartialEq for LogicalLayoutHandle
Auto Trait Implementations§
impl Freeze for LogicalLayoutHandle
impl RefUnwindSafe for LogicalLayoutHandle
impl Send for LogicalLayoutHandle
impl Sync for LogicalLayoutHandle
impl Unpin for LogicalLayoutHandle
impl UnsafeUnpin for LogicalLayoutHandle
impl UnwindSafe for LogicalLayoutHandle
Blanket Implementations§
impl<T> BlockMetadata for T
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.