pub fn deserialize_atomic_mutate_request(
    request: Vec<u8>,
) -> Result<pb::v1::RegistryAtomicMutateRequest, Error> {
    match pb::v1::RegistryAtomicMutateRequest::decode(&request[..]) {
        Ok(request) => Ok(request),
        Err(error) => Err(Error::MalformedMessage(error.to_string())),
    }
}
/// Deserializes the arguments for a request to the atomic_mutate() function in
/// the registry canister, from protobuf.
Deserializes the arguments for a request to the atomic_mutate() function in
the registry canister, from protobuf.
Deserializes the arguments for a request to the atomic_mutate () function in the registry canister from protobuf .
pub fn deserialize_atomic_mutate_request(
    request: Vec<u8>,
) -> Result<pb::v1::RegistryAtomicMutateRequest, Error> {
    match pb::v1::RegistryAtomicMutateRequest::decode(&request[..]) {
        Ok(request) => Ok(request),
        Err(error) => Err(Error::MalformedMessage(error.to_string())),
    }
}
pub fn deserialize_atomic_mutate_request ( request : Vec < u8 > , ) -> Result < pb :: v1 :: RegistryAtomicMutateRequest , Error > { match pb :: v1 :: RegistryAtomicMutateRequest :: decode ( & request [ .. ] ) { Ok ( request ) => Ok ( request ) , Err ( error ) => Err ( Error :: MalformedMessage ( error . to_string ( ) ) ) , } }
Deserializes the arguments for a request to the atomic_mutate() function in
the registry canister, from protobuf.
Deserializes the arguments for a request to the atomic_mutate () function in the registry canister from protobuf .
request
Vec<u8>
request
Vec<u8>