Trait raft_proto::ConfChangeI [−][src]
Abstracts over ConfChangeV2 and (legacy) ConfChange to allow treating them in a unified manner.
Required methods
fn into_v2(self) -> ConfChangeV2[src]
Converts conf change to ConfChangeV2.
fn as_v2(&self) -> Cow<'_, ConfChangeV2>[src]
Gets conf change as ConfChangeV2.
fn as_v1(&self) -> Option<&ConfChange>[src]
Converts conf change to ConfChange.
ConfChangeV2 can’t be changed back to ConfChange.