[][src]Trait shared::Serializable

pub trait Serializable {
    fn serialize<W>(&self, target: &mut W) -> Result<(), Error>
    where
        W: Write
; }

Required methods

fn serialize<W>(&self, target: &mut W) -> Result<(), Error> where
    W: Write

Loading content...

Implementations on Foreign Types

impl Serializable for bool[src]

impl<'_> Serializable for &'_ u8[src]

impl<'_> Serializable for &'_ char[src]

impl Serializable for u16[src]

impl Serializable for u32[src]

impl Serializable for u64[src]

impl Serializable for i32[src]

impl Serializable for i64[src]

impl Serializable for Ipv6Addr[src]

impl Serializable for IpAddr[src]

impl<'_> Serializable for &'_ SocketAddr[src]

impl Serializable for SocketAddr[src]

impl<'_> Serializable for &'_ [u8][src]

impl Serializable for [u8; 4][src]

impl Serializable for [u8; 12][src]

impl Serializable for [u8; 32][src]

impl Serializable for Vec<u8>[src]

impl<T> Serializable for Vec<T> where
    T: Serializable
[src]

impl Serializable for String[src]

impl<T: Serializable> Serializable for Option<T>[src]

Loading content...

Implementors

impl Serializable for InventoryType[src]

impl Serializable for Block[src]

impl Serializable for BlockHeader[src]

impl Serializable for CoinbaseInput[src]

impl Serializable for CompactInt[src]

impl Serializable for EncapsulatedAddr[src]

impl Serializable for InventoryData[src]

impl Serializable for Nbits[src]

impl Serializable for Transaction[src]

impl Serializable for TxInput[src]

impl Serializable for TxOutpoint[src]

impl Serializable for TxOutput[src]

impl Serializable for u256[src]

impl<'_> Serializable for &'_ u256[src]

Loading content...