MCPcopy Create free account
hub / github.com/RustCrypto/formats / try_from

Method try_from

der/src/document.rs:181–183  ·  view source on GitHub ↗
(der_bytes: &[u8])

Source from the content-addressed store, hash-verified

179 type Error = Error;
180
181 fn try_from(der_bytes: &[u8]) -> Result<Self> {
182 Self::from_der(der_bytes)
183 }
184}
185
186impl TryFrom<Vec<u8>> for Document {

Callers

nothing calls this directly

Calls 3

decode_sequenceFunction · 0.85
finishMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected