pub enum UpdateMessage {
LogAppend {
id: LogID,
new_append: LogAppendMessage,
},
LogUpdateKnownState {
id: LogID,
known_state: LogKnownState,
},
SetInsert {
id: SetID,
new_insert: SetInsertMessage,
},
SetUpdateKnownState {
id: SetID,
known_state: SetKnownState,
},
}Variants§
Implementations§
Source§impl UpdateMessage
impl UpdateMessage
pub fn short_summary(&self) -> String
Trait Implementations§
Source§impl Debug for UpdateMessage
impl Debug for UpdateMessage
Source§impl<'de> Deserialize<'de> for UpdateMessage
impl<'de> Deserialize<'de> for UpdateMessage
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 UpdateMessage
impl RefUnwindSafe for UpdateMessage
impl Send for UpdateMessage
impl Sync for UpdateMessage
impl Unpin for UpdateMessage
impl UnwindSafe for UpdateMessage
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