[][src]Module dsf_core::wire::builder

Builder provides methods to construct a container using a mutable buffer and base types

Structs

Builder

Builder provides a low-level wire protocol builder object. This is generic over buffer types and uses type-state mutation to ensure created objects are valid

Init

Init state, no data set

SetBody

SetBody state, has header and ID

SetPrivateOptions

SetPrivateOptions state, has Body and previous (SetBody)

SetPublicOptions

SetPublicOptions state, has PrivateOptions and previous (SetPrivateOptions)

Sign

Sign state, has PublicOptions and previous (SetPublicOptions)

Traits

EncodeEncrypted

Internal trait to support encoding of optionally encrypted objects in a generic buffer