pub struct RaftState { /* private fields */ }Trait Implementations§
Source§impl<'de> Deserialize<'de> for RaftState
impl<'de> Deserialize<'de> for RaftState
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 From<(SystemNodeId, Measurement)> for RaftState
impl From<(SystemNodeId, Measurement)> for RaftState
Source§fn from((id, measurement): (SystemNodeId, Measurement)) -> Self
fn from((id, measurement): (SystemNodeId, Measurement)) -> Self
Converts to this type from the input type.
Source§impl From<RaftState> for SystemState
impl From<RaftState> for SystemState
impl Eq for RaftState
impl StructuralPartialEq for RaftState
Auto Trait Implementations§
impl Freeze for RaftState
impl RefUnwindSafe for RaftState
impl Send for RaftState
impl Sync for RaftState
impl Unpin for RaftState
impl UnwindSafe for RaftState
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