Trait strict_encoding::strategies::Strategy [−][src]
pub trait Strategy { type Strategy; }
Expand description
Marker trait defining specific encoding strategy which should be used for
automatic implementation of both StrictEncode
and StrictDecode
.
Associated Types
type Strategy
[src]
Expand description
Specific strategy. List of supported strategies:
HashFixedBytes
- [
BitcoinConsensus
] Wrapped
UsingUniformAddr
Implementations on Foreign Types
impl Strategy for Hash
[src]
impl Strategy for Hash
[src]type Strategy = HashFixedBytes
impl Strategy for Hash
[src]
impl Strategy for Hash
[src]type Strategy = HashFixedBytes
impl Strategy for Hash
[src]
impl Strategy for Hash
[src]type Strategy = HashFixedBytes
impl Strategy for Hash
[src]
impl Strategy for Hash
[src]type Strategy = HashFixedBytes
impl Strategy for Hash
[src]
impl Strategy for Hash
[src]type Strategy = HashFixedBytes
impl Strategy for IpAddr
[src]
impl Strategy for IpAddr
[src]type Strategy = UsingUniformAddr
impl Strategy for Ipv4Addr
[src]
impl Strategy for Ipv4Addr
[src]type Strategy = UsingUniformAddr
impl Strategy for Ipv6Addr
[src]
impl Strategy for Ipv6Addr
[src]type Strategy = UsingUniformAddr
impl Strategy for SocketAddr
[src]
impl Strategy for SocketAddr
[src]type Strategy = UsingUniformAddr
impl Strategy for SocketAddrV4
[src]
impl Strategy for SocketAddrV4
[src]type Strategy = UsingUniformAddr
impl Strategy for SocketAddrV6
[src]
impl Strategy for SocketAddrV6
[src]type Strategy = UsingUniformAddr
Implementors
impl Strategy for UniformAddr
[src]
impl Strategy for UniformAddr
[src]