pub enum BinaryValue {
Inline {
length: u64,
record_identifier: RecordIdentifier,
},
External {
blob_identifier: String,
},
}Expand description
A binary property value as far as the segment store knows it.
Variants§
Inline
The binary is stored inline in the segment store.
Fields
§
record_identifier: RecordIdentifierThe value record; content is fetched on demand with
read_binary_stream or materialized with
read_binary_content.
External
The binary lives in an external blob store.
Trait Implementations§
Source§impl Clone for BinaryValue
impl Clone for BinaryValue
Source§fn clone(&self) -> BinaryValue
fn clone(&self) -> BinaryValue
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 BinaryValue
impl Debug for BinaryValue
impl Eq for BinaryValue
Source§impl PartialEq for BinaryValue
impl PartialEq for BinaryValue
impl StructuralPartialEq for BinaryValue
Auto Trait Implementations§
impl Freeze for BinaryValue
impl RefUnwindSafe for BinaryValue
impl Send for BinaryValue
impl Sync for BinaryValue
impl Unpin for BinaryValue
impl UnsafeUnpin for BinaryValue
impl UnwindSafe for BinaryValue
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