reallyme-codec-proto 0.2.0

ReallyMe codec protobuf error envelopes generated with Buffa.
Documentation
// @generated by buffa-codegen. DO NOT EDIT.
// source: reallyme/codec/v1/codec.proto

pub mod codec_error {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Error<'a> {
        BaseEncoding(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecBaseEncodingErrorView<'a>,
            >,
        ),
        Pem(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecPemErrorView<'a>,
            >,
        ),
        Multiformat(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMultiformatErrorView<'a>,
            >,
        ),
        Canonicalization(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecCanonicalizationErrorView<
                    'a,
                >,
            >,
        ),
        Backend(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecBackendErrorView<'a>,
            >,
        ),
        Boundary(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecBoundaryErrorView<'a>,
            >,
        ),
    }
}
pub mod codec_deterministic_cbor_integer {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Value<'a> {
        UnsignedValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborUnsignedIntegerView<
                    'a,
                >,
            >,
        ),
        NegativeValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborNegativeIntegerView<
                    'a,
                >,
            >,
        ),
    }
}
pub mod codec_deterministic_cbor_map_key {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Key<'a> {
        IntegerKey(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborIntegerView<
                    'a,
                >,
            >,
        ),
        TextKey(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborTextView<
                    'a,
                >,
            >,
        ),
    }
}
pub mod codec_deterministic_cbor_value {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Value<'a> {
        NullValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborNullView<
                    'a,
                >,
            >,
        ),
        BoolValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborBoolView<
                    'a,
                >,
            >,
        ),
        IntegerValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborIntegerView<
                    'a,
                >,
            >,
        ),
        TextValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborTextView<
                    'a,
                >,
            >,
        ),
        BytesValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborBytesView<
                    'a,
                >,
            >,
        ),
        ArrayValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborArrayView<
                    'a,
                >,
            >,
        ),
        MapValue(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborMapView<
                    'a,
                >,
            >,
        ),
    }
}
pub mod codec_operation_result {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Result<'a> {
        MulticodecPrefixForName(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecSpecView<'a>,
            >,
        ),
        MulticodecLookupPrefix(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecLookupResultView<
                    'a,
                >,
            >,
        ),
        MulticodecTable(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecTableResultView<
                    'a,
                >,
            >,
        ),
        MultikeyParse(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMultikeyParseResultView<
                    'a,
                >,
            >,
        ),
        DagCborVerifyCid(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborVerifyCidResultView<
                    'a,
                >,
            >,
        ),
        DagCborEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborEncodeResultView<
                    'a,
                >,
            >,
        ),
        DagCborDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborDecodeResultView<
                    'a,
                >,
            >,
        ),
        PemDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecPemDecodeResultView<'a>,
            >,
        ),
        PemEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecPemEncodeResultView<'a>,
            >,
        ),
        DeterministicCborEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborEncodeResultView<
                    'a,
                >,
            >,
        ),
        DeterministicCborDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborDecodeResultView<
                    'a,
                >,
            >,
        ),
    }
}
pub mod codec_operation_response {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Outcome<'a> {
        Result(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecOperationResultView<'a>,
            >,
        ),
        Error(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecErrorView<'a>,
            >,
        ),
    }
}
pub mod codec_operation_request {
    #[allow(unused_imports)]
    use super::*;
    #[derive(Clone, Debug)]
    pub enum Operation<'a> {
        MulticodecPrefixForName(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecPrefixForNameRequestView<
                    'a,
                >,
            >,
        ),
        MulticodecLookupPrefix(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecLookupPrefixRequestView<
                    'a,
                >,
            >,
        ),
        MulticodecTable(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMulticodecTableRequestView<
                    'a,
                >,
            >,
        ),
        MultikeyParse(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecMultikeyParseRequestView<
                    'a,
                >,
            >,
        ),
        DagCborVerifyCid(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborVerifyCidRequestView<
                    'a,
                >,
            >,
        ),
        DagCborEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborEncodeRequestView<
                    'a,
                >,
            >,
        ),
        DagCborDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDagCborDecodeRequestView<
                    'a,
                >,
            >,
        ),
        PemDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecPemDecodeRequestView<'a>,
            >,
        ),
        PemEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecPemEncodeRequestView<'a>,
            >,
        ),
        DeterministicCborEncode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborEncodeRequestView<
                    'a,
                >,
            >,
        ),
        DeterministicCborDecode(
            ::buffa::alloc::boxed::Box<
                super::super::super::super::__buffa::view::CodecDeterministicCborDecodeRequestView<
                    'a,
                >,
            >,
        ),
    }
}