[][src]Enum holochain_core_types::dna::bridges::BridgePresence

pub enum BridgePresence {
    Required,
    Optional,
}

Required or optional

Variants

Required

A required bridge is a dependency to another DNA. This DNA won't load without it.

Optional

An optional bridge may be missing. This DNA's code can check via API functions if the other DNA is installed and connected.

Trait Implementations

impl Clone for BridgePresence[src]

impl PartialEq<BridgePresence> for BridgePresence[src]

impl Debug for BridgePresence[src]

impl Hash for BridgePresence[src]

impl StructuralPartialEq for BridgePresence[src]

impl Serialize for BridgePresence[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

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