pub enum CanonicalHistorySource {
Thread {
runtime_thread_id: String,
expected_document_digest: String,
},
SavedSession {
session: Value,
expected_document_digest: String,
},
}Variants§
Thread
SavedSession
Local mounted handoff supplies the already protected complete document; the actual owner reopens it and compares the same whole-document digest.
Trait Implementations§
Source§impl Clone for CanonicalHistorySource
impl Clone for CanonicalHistorySource
Source§impl Debug for CanonicalHistorySource
impl Debug for CanonicalHistorySource
Source§impl<'de> Deserialize<'de> for CanonicalHistorySource
impl<'de> Deserialize<'de> for CanonicalHistorySource
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 CanonicalHistorySource
impl RefUnwindSafe for CanonicalHistorySource
impl Send for CanonicalHistorySource
impl Sync for CanonicalHistorySource
impl Unpin for CanonicalHistorySource
impl UnsafeUnpin for CanonicalHistorySource
impl UnwindSafe for CanonicalHistorySource
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