You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ophash.rs
    path of file: ./repos/encore/runtimes/core/src/api/reqauth/encoreauth
    
    the code of the file until where you have to start completion: use anyhow::Context;
use sha3::{Digest, Sha3_256};
use
    
    fn from_str(s: &str) -> Result<Self, Self::Err> {
        let raw = hex::decode(s).context("invalid hex")?;
        let output = <sha3::digest::Output<Sha3_256>>::from_exact_iter(raw.into_iter())
            .context("invalid hash length")?;
        Ok(Self {
            output,
            hex: s.to_string(),
        })
    }