def METHOD_NAME(self, result: EtcdResult) -> Tuple[bytes, Token]:
    base64_state = result.value.encode()
    try:
        state = b64decode(base64_state)
    except binascii.Error as exc:
        raise RendezvousStateError(
            "The state object is corrupt. See inner exception for details."
        ) from exc
    return state, result.modifiedIndex