Type Function InitError [src]

Prototype

pub fn InitError(comptime Stream: type) type

Parameters

Stream: type

Source

pub fn InitError(comptime Stream: type) type { return std.mem.Allocator.Error || Stream.WriteError || Stream.ReadError || tls.AlertDescription.Error || error{ InsufficientEntropy, DiskQuota, LockViolation, NotOpenForWriting, TlsUnexpectedMessage, TlsIllegalParameter, TlsDecryptFailure, TlsRecordOverflow, TlsBadRecordMac, CertificateFieldHasInvalidLength, CertificateHostMismatch, CertificatePublicKeyInvalid, CertificateExpired, CertificateFieldHasWrongDataType, CertificateIssuerMismatch, CertificateNotYetValid, CertificateSignatureAlgorithmMismatch, CertificateSignatureAlgorithmUnsupported, CertificateSignatureInvalid, CertificateSignatureInvalidLength, CertificateSignatureNamedCurveUnsupported, CertificateSignatureUnsupportedBitCount, TlsCertificateNotVerified, TlsBadSignatureScheme, TlsBadRsaSignatureBitCount, InvalidEncoding, IdentityElement, SignatureVerificationFailed, TlsDecryptError, TlsConnectionTruncated, TlsDecodeError, UnsupportedCertificateVersion, CertificateTimeInvalid, CertificateHasUnrecognizedObjectId, CertificateHasInvalidBitString, MessageTooLong, NegativeIntoUnsigned, TargetTooSmall, BufferTooSmall, InvalidSignature, NotSquare, NonCanonical, WeakPublicKey, }; }