Macro wedpr_ffi_macros::c_safe_bytes_to_proto_with_error_value[][src]

macro_rules! c_safe_bytes_to_proto_with_error_value {
    ($rust_bytes:expr, $pb_type:ty, $error_value:expr) => { ... };
}

Converts Rust bytes to Rust proto, and returns a specified error value if failed.