Lines Matching defs:fmt
33 use std::fmt;
69 impl fmt::Display for Asn1GeneralizedTimeRef {
70 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
280 impl fmt::Display for Asn1TimeRef {
281 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
296 impl fmt::Debug for Asn1TimeRef {
297 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
475 impl fmt::Debug for Asn1StringRef {
476 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
478 Ok(openssl_string) => openssl_string.fmt(fmt),
479 Err(_) => fmt.write_str("error"),
716 impl fmt::Display for Asn1ObjectRef {
717 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
727 Err(_) => fmt.write_str("error"),
728 Ok(s) => fmt.write_str(s),
734 impl fmt::Debug for Asn1ObjectRef {
735 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
736 fmt.write_str(self.to_string().as_str())