Struct chain_storage::Value
source · pub struct Value {
inner: ValueImpl,
}
Expand description
Wrapper for data held by the database. This wrapper holds structs returned
by both volatile and permanent storage to ensure we don’t have needless
copying on return. Data should be accessed through the AsRef
trait.
Fields§
§inner: ValueImpl
Implementations§
Trait Implementations§
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl Eq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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