[−][src]Trait internet2::presentation::encoding::LightningDecode
Lightning-network specific encoding as defined in BOLT-1, 2, 3...
Required methods
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
Provided methods
Loading content...Implementations on Foreign Types
impl<T> LightningDecode for Holder<T, AsStrict> where
T: StrictDecode,
[src]
T: StrictDecode,
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for Holder<T, AsBitcoinHash> where
T: Hash + StrictDecode,
[src]
T: Hash + StrictDecode,
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for Holder<T, AsWrapped> where
T: Wrapper,
T::Inner: LightningDecode,
[src]
T: Wrapper,
T::Inner: LightningDecode,
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for Holder<T, AsBigSize> where
T: From<BigSize>,
[src]
T: From<BigSize>,
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl LightningDecode for [u8; 32]
[src]
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl LightningDecode for Box<[u8]>
[src]
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl LightningDecode for String
[src]
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for Vec<T> where
T: LightningDecode,
[src]
T: LightningDecode,
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for HashSet<T> where
T: LightningDecode + Eq + Hash,
[src]
T: LightningDecode + Eq + Hash,
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl<K, V> LightningDecode for HashMap<K, V> where
K: LightningDecode + Eq + Hash,
V: LightningDecode,
[src]
K: LightningDecode + Eq + Hash,
V: LightningDecode,
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for BTreeSet<T> where
T: LightningDecode + Ord,
[src]
T: LightningDecode + Ord,
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl<K, V> LightningDecode for BTreeMap<K, V> where
K: LightningDecode + Ord,
V: LightningDecode,
[src]
K: LightningDecode + Ord,
V: LightningDecode,
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl LightningDecode for Option<AssetId>
[src]
pub fn lightning_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
Implementors
impl LightningDecode for BigSize
[src]
pub fn lightning_decode<D: Read>(mut d: D) -> Result<Self, Error>
[src]
impl<T> LightningDecode for T where
T: Strategy,
Holder<T, <T as Strategy>::Strategy>: LightningDecode,
[src]
T: Strategy,
Holder<T, <T as Strategy>::Strategy>: LightningDecode,