[−][src]Struct fbas_analyzer::Fbas
Implementations
impl Fbas
[src]
pub fn unsatisfiable_nodes(&self) -> NodeIdSet
[src]
pub fn satisfiable_nodes(&self) -> NodeIdSet
[src]
pub fn strongly_connected_components(&self) -> Vec<NodeIdSet>
[src]
pub fn rank_nodes(&self) -> Vec<f64>
[src]
impl Fbas
[src]
pub fn new() -> Self
[src]
FBAS of 0 nodes.
pub fn new_generic_unconfigured(n: usize) -> Self
[src]
FBAS of n
nodes with empty quorum sets
pub fn add_node(&mut self, node: Node) -> NodeId
[src]
pub fn add_generic_node(&mut self, quorum_set: QuorumSet) -> NodeId
[src]
Add a node with generic public_key
pub fn number_of_nodes(&self) -> usize
[src]
pub fn all_nodes(&self) -> NodeIdSet
[src]
pub fn is_quorum(&self, node_set: &NodeIdSet) -> bool
[src]
impl Fbas
[src]
pub fn from_json_str(json: &str) -> Self
[src]
pub fn from_json_file(path: &Path) -> Self
[src]
pub fn from_json_stdin() -> Self
[src]
pub fn to_json_string(&self) -> String
[src]
pub fn to_json_string_pretty(&self) -> String
[src]
impl Fbas
[src]
Trait Implementations
impl Clone for Fbas
[src]
impl Debug for Fbas
[src]
impl Default for Fbas
[src]
impl<'de> Deserialize<'de> for Fbas
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for Fbas
[src]
impl Eq for Fbas
[src]
impl PartialEq<Fbas> for Fbas
[src]
impl Serialize for Fbas
[src]
impl StructuralEq for Fbas
[src]
impl StructuralPartialEq for Fbas
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fbas
impl Send for Fbas
impl Sync for Fbas
impl Unpin for Fbas
impl UnwindSafe for Fbas
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,