pub struct LogKnownState {
pub log_len: usize,
pub priority: u8,
}Fields§
§log_len: usize§priority: u8Implementations§
Source§impl LogKnownState
impl LogKnownState
pub fn update_optimistically(&mut self, append: LogAppendMessage)
Trait Implementations§
Source§impl Clone for LogKnownState
impl Clone for LogKnownState
Source§fn clone(&self) -> LogKnownState
fn clone(&self) -> LogKnownState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogKnownState
impl Debug for LogKnownState
Source§impl Default for LogKnownState
impl Default for LogKnownState
Source§fn default() -> LogKnownState
fn default() -> LogKnownState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogKnownState
impl<'de> Deserialize<'de> for LogKnownState
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
Source§impl Serialize for LogKnownState
impl Serialize for LogKnownState
impl Copy for LogKnownState
Auto Trait Implementations§
impl Freeze for LogKnownState
impl RefUnwindSafe for LogKnownState
impl Send for LogKnownState
impl Sync for LogKnownState
impl Unpin for LogKnownState
impl UnwindSafe for LogKnownState
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