pub struct SaveStateResult {
pub state: Value,
}Expand description
Result from the save_state method.
Fields§
§state: ValueOpaque adapter state. TA passes this back to restore_state.
null means no state was saved (adapter returned None).
Trait Implementations§
Source§impl Debug for SaveStateResult
impl Debug for SaveStateResult
Source§impl<'de> Deserialize<'de> for SaveStateResult
impl<'de> Deserialize<'de> for SaveStateResult
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
Auto Trait Implementations§
impl Freeze for SaveStateResult
impl RefUnwindSafe for SaveStateResult
impl Send for SaveStateResult
impl Sync for SaveStateResult
impl Unpin for SaveStateResult
impl UnsafeUnpin for SaveStateResult
impl UnwindSafe for SaveStateResult
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