[−][src]Enum overlord::types::Role
There are three roles in overlord consensus protocol, leader, relayer and others. Leader needs to propose proposal in a round to propel consensus process. Relayer is the node that responsible to aggregate vote. The others node only vote for a proposal and receive QCs. To simplify the process, the leader and the relayer will be a same node which means leader will alse do what relayer node do.
Variants
The node is a leader.
The node is not a leader.
Trait Implementations
impl Clone for Role
[src]
impl Debug for Role
[src]
impl Display for Role
[src]
impl Eq for Role
[src]
impl From<u8> for Role
[src]
impl Into<u8> for Role
[src]
impl PartialEq<Role> for Role
[src]
impl StructuralEq for Role
[src]
impl StructuralPartialEq for Role
[src]
Auto Trait Implementations
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cloneable for T where
T: 'static + Send + Sync + Debug + DynClone,
[src]
T: 'static + Send + Sync + Debug + DynClone,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,