pub fn inbox_id_str_to_bytes(
inbox_id: &str,
) -> Result<InboxId, ComponentSourceError>Expand description
Decode a hex-string inbox id into an InboxId.
Returns ComponentSourceError::InvalidInboxId wrapping either
InboxIdError::InvalidHex (input wasn’t hex) or
InboxIdError::InvalidLength (wrong byte length after decoding).
Callers that need to distinguish the failure modes can match the
inner variant.