[][src]Struct splinter::circuit::directory::CircuitDirectory

pub struct CircuitDirectory { /* fields omitted */ }

Methods

impl CircuitDirectory[src]

pub fn new() -> Self[src]

pub fn add_node(&mut self, id: String, node: SplinterNode)[src]

pub fn add_circuit(&mut self, name: String, circuit: Circuit)[src]

pub fn remove_node(&mut self, id: &str)[src]

pub fn remove_circuit(&mut self, name: &str)[src]

pub fn nodes(&self) -> &BTreeMap<String, SplinterNode>[src]

pub fn node(&self, node_id: &str) -> Option<&SplinterNode>[src]

pub fn circuits(&self) -> &BTreeMap<String, Circuit>[src]

pub fn circuit(&self, circuit_name: &str) -> Option<&Circuit>[src]

pub fn has_circuit(&self, circuit_name: &str) -> bool[src]

Trait Implementations

impl Clone for CircuitDirectory[src]

impl Debug for CircuitDirectory[src]

impl Default for CircuitDirectory[src]

impl<'de> Deserialize<'de> for CircuitDirectory[src]

impl PartialEq<CircuitDirectory> for CircuitDirectory[src]

impl Serialize for CircuitDirectory[src]

impl StructuralPartialEq for CircuitDirectory[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,