fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        use CspPopFromPublicKeyProtoError::*;
        match self {
            NoPopForAlgorithm{ algorithm } => write!(f, "CspPopFromPublicKeyProtoError::NoPopForAlgorithm{{ algorithm: {:?} }}", algorithm),
            MissingProofData => write!(f, "CspPopFromPublicKeyProtoError::MissingProofData"),
            MalformedPop{ pop_bytes, internal_error } => write!(f, "CspPopFromPublicKeyProtoError::MalformedPop{{ pop_bytes: {:?}, internal_error: {} }}", hex::encode(&pop_bytes[..]), internal_error),
        }
    }
/// Prints in a developer-friendly format.
///
/// The standard rust encoding is used for all fields except the PoP, which
/// is encoded as hex rather than arrays of integers.
Prints in a developer-friendly format.
The standard rust encoding is used for all fields except the PoP, which
is encoded as hex rather than arrays of integers.
Prints in a developer - friendly format . The standard rust encoding is used for all fields except the PoP which is encoded as hex rather than arrays of integers .
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        use CspPopFromPublicKeyProtoError::*;
        match self {
            NoPopForAlgorithm{ algorithm } => write!(f, "CspPopFromPublicKeyProtoError::NoPopForAlgorithm{{ algorithm: {:?} }}", algorithm),
            MissingProofData => write!(f, "CspPopFromPublicKeyProtoError::MissingProofData"),
            MalformedPop{ pop_bytes, internal_error } => write!(f, "CspPopFromPublicKeyProtoError::MalformedPop{{ pop_bytes: {:?}, internal_error: {} }}", hex::encode(&pop_bytes[..]), internal_error),
        }
    }
fn fmt ( & self , f : & mut fmt :: Formatter < ' _ > ) -> fmt :: Result { use CspPopFromPublicKeyProtoError :: * ; match self { NoPopForAlgorithm { algorithm } => write ! ( f " " algorithm ) , MissingProofData => write ! ( f " " ) , MalformedPop { pop_bytes , internal_error } => write ! ( f " " hex encode ( pop_bytes [ ] ) internal_error ) , } }
Prints in a developer-friendly format.
Prints in a developer - friendly format .
&self
f
&mut fmt::Formatter<'_>
&self
f
&mut fmt::Formatter<'_>