pub fn deserialize_get_changes_since_request(request: Vec<u8>) -> Result<u64, Error> {
    match pb::v1::RegistryGetChangesSinceRequest::decode(&request[..]) {
        Ok(request) => Ok(request.version),
        Err(error) => Err(Error::MalformedMessage(error.to_string())),
    }
}
/// Deserializes the response obtained from the registry canister for a
/// get_changes_since() call, from protobuf.
Deserializes the response obtained from the registry canister for a
get_changes_since() call, from protobuf.
Deserializes the response obtained from the registry canister for a get_changes_since () call from protobuf .
pub fn deserialize_get_changes_since_request(request: Vec<u8>) -> Result<u64, Error> {
    match pb::v1::RegistryGetChangesSinceRequest::decode(&request[..]) {
        Ok(request) => Ok(request.version),
        Err(error) => Err(Error::MalformedMessage(error.to_string())),
    }
}
pub fn deserialize_get_changes_since_request ( request : Vec < u8 > ) -> Result < u64 , Error > { match pb :: v1 :: RegistryGetChangesSinceRequest :: decode ( & request [ .. ] ) { Ok ( request ) => Ok ( request . version ) , Err ( error ) => Err ( Error :: MalformedMessage ( error . to_string ( ) ) ) , } }
Deserializes the response obtained from the registry canister for a
get_changes_since() call, from protobuf.
Deserializes the response obtained from the registry canister for a get_changes_since () call from protobuf .
request
Vec<u8>
request
Vec<u8>