pub struct ObjectEntry {
pub position: StorageCursor,
pub version: ObjectVersionToken,
pub value: ObjectValue,
}Fields§
§position: StorageCursor§version: ObjectVersionToken§value: ObjectValueTrait Implementations§
Source§impl Clone for ObjectEntry
impl Clone for ObjectEntry
Source§fn clone(&self) -> ObjectEntry
fn clone(&self) -> ObjectEntry
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 moreSource§impl Debug for ObjectEntry
impl Debug for ObjectEntry
Source§impl Described for ObjectEntry
impl Described for ObjectEntry
Source§impl<'de> Deserialize<'de> for ObjectEntry
impl<'de> Deserialize<'de> for ObjectEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Entry for ObjectEntry
impl Entry for ObjectEntry
type Selection = ObjectSelection
fn position(&self) -> &StorageCursor
fn matches(&self, selection: &ObjectSelection) -> bool
fn pending(queued: Queued<'_>) -> &[ObjectEntry]
fn scan<'a>( backend: &'a (dyn StorageBackend + 'static), snapshot: &'a BackendSnapshot, selection: &'a ObjectSelection, page: ScanPage, ) -> Pin<Box<dyn Future<Output = Result<Vec<ObjectEntry>, Error>> + Send + 'a>>
fn start(_selection: &Self::Selection) -> u64
impl Eq for ObjectEntry
Source§impl MemorySize for ObjectEntry
impl MemorySize for ObjectEntry
fn memory_size(&self) -> usize
Source§impl PartialEq for ObjectEntry
impl PartialEq for ObjectEntry
Source§impl Serialize for ObjectEntry
impl Serialize for ObjectEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ObjectEntry
Source§impl Value for ObjectEntry
impl Value for ObjectEntry
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<ObjectEntry, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for ObjectEntry
impl RefUnwindSafe for ObjectEntry
impl Send for ObjectEntry
impl Sync for ObjectEntry
impl Unpin for ObjectEntry
impl UnsafeUnpin for ObjectEntry
impl UnwindSafe for ObjectEntry
Blanket Implementations§
impl<T> Allocation 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