User avatar
flori_ava_star:~cursor_blinking made-with-estrogen verifiedlesbian @star@amazonawaws.com
4mo
rust softwaregore Nested associated types in traits ankhafirerage
pub trait IdCertBehaviors<S: Signature, P: PublicKey<S>>: IdCertFields<S, P> + Sized
where PolyprotoDistinguishedName: From<<<Self as IdCertFields<S, P>>::TbsCert as IdCertTbsFields<S, P>>::SubjectDistinguishedNameVariant>, CertificateConversionError: From<<<Self as IdCertFields<S, P>>::TbsCert as TryFrom<IdCertTbsBase<S, P>>>::Error> {
    fn try_from_ca_csr(id_csr: Self::TbsCert, signing_key: &impl PrivateKey<S, PublicKey = P>, serial_number: SerialNumber, issuer: <<Self as IdCertFields<S, P>>::TbsCert as IdCertTbsFields<S, P>>::SubjectDistinguishedNameVariant);
}
:celeste_hearts_non_binary@mk.absturztau.be:1
6
2
4
1
User avatar
lizzy مثلية الله ☭ heart_lesbian_diagonal2 cuwu @lizzy@social.vlhl.dev
4mo
this is what you get when you refuse to think of your type system as just another form of terms being passed around & don't design the syntax around it appropriately.
1
0
1
0
User avatar
flori_ava_star:~cursor_blinking made-with-estrogen verifiedlesbian @star@amazonawaws.com
4mo
@lizzy I think I can also do a better job with my code (drafting things rn), but yeah, this is tough to look at
0
0
1
0