pub struct Item<V> { /* private fields */ }
Expand description
A single item in storage.
Implementations§
Source§impl<V> Item<V>
impl<V> Item<V>
Sourcepub fn get<'value>(
&self,
ctx: &'value Context<'_>,
) -> Result<<V as ObjectValue>::Out<'value>, ClientError<u8>>
pub fn get<'value>( &self, ctx: &'value Context<'_>, ) -> Result<<V as ObjectValue>::Out<'value>, ClientError<u8>>
Gets the value of the item.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for Item<V>
impl<V> RefUnwindSafe for Item<V>where
V: RefUnwindSafe,
impl<V> Send for Item<V>where
V: Send,
impl<V> Sync for Item<V>where
V: Sync,
impl<V> Unpin for Item<V>where
V: Unpin,
impl<V> UnwindSafe for Item<V>where
V: UnwindSafe,
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