You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: the trait bound `der::asn1::OctetStringRef<'_>: TryFrom<[u8; 8]>` is not satisfied
--> example.rs:68:10
|
68 | #[derive(Sequence)]
| ^^^^^^^^ the trait `From<[u8; 8]>` is not implemented for `der::asn1::OctetStringRef<'_>`
|
= help: the following other types implement trait `From<T>`:
`der::asn1::OctetStringRef<'_>` implements `From<&der::asn1::OctetString>`
`der::asn1::OctetStringRef<'_>` implements `From<&der::asn1::OctetStringRef<'_>>`
= note: required for `[u8; 8]` to implement `Into<der::asn1::OctetStringRef<'_>>`
= note: required for `der::asn1::OctetStringRef<'_>` to implement `TryFrom<[u8; 8]>`
= note: this error originates in the derive macro `Sequence`
does not work with deref ="true" too.
the trait `From<&[u8; 8]>` is not implemented for `OctetStringRef<'_>`
[u8; N]
arrays should be allowed asOCTET STRING
fields.does not work with
deref ="true"
too.[Spoiler] real use case
The text was updated successfully, but these errors were encountered: