(s: &str)
| 36 | Self(bytes) |
| 37 | } |
| 38 | pub fn from_base32(s: &str) -> Result<Self, ProjectIdError> { |
| 39 | strict_base32(s).map(Self) |
| 40 | } |
| 41 | pub fn to_base32(self) -> String { |
| 42 | data_encoding::BASE32_NOPAD.encode(&self.0) |
| 43 | } |
nothing calls this directly
no test coverage detected