Home
last modified time | relevance | path

Searched defs:ErrorStack (Results 1 – 9 of 9) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Dx509.rs44 pub(crate) fn from_pem(pem: &[u8]) -> Result<X509, ErrorStack> { in from_pem() argument
53 pub(crate) fn from_der(der: &[u8]) -> Result<X509, ErrorStack> { in from_der() argument
62 pub(crate) fn stack_from_pem(pem: &[u8]) -> Result<Vec<X509>, ErrorStack> { in stack_from_pem() argument
141 pub(crate) fn add_cert(&mut self, cert: X509) -> Result<(), ErrorStack> { in add_cert() argument
162 pub(crate) fn set_host(&mut self, host: &str) -> Result<(), ErrorStack> { in set_host() argument
169 pub(crate) fn set_ip(&mut self, ip_addr: IpAddr) -> Result<(), ErrorStack> { in set_ip() argument
Dmod.rs43 pub(crate) fn check_ptr<T>(ptr: *mut T) -> Result<*mut T, ErrorStack> { in check_ptr() argument
52 pub(crate) fn check_ret(r: c_int) -> Result<c_int, ErrorStack> { in check_ret() argument
Derror.rs205 pub struct ErrorStack(Vec<StackError>); struct
207 impl fmt::Display for ErrorStack { implementation
220 impl Error for ErrorStack {} implementation
222 impl ErrorStack { impl
Dbio.rs47 pub(crate) fn from_byte(buf: &'a [u8]) -> Result<BioSlice<'a>, ErrorStack> { in from_byte() argument
84 fn new<S: Read + Write>() -> Result<BioMethodInner, ErrorStack> { in new() argument
118 fn new<S: Read + Write>() -> Result<BioMethod, ErrorStack> { in new() argument
157 pub(crate) fn new<S: Read + Write>(stream: S) -> Result<(*mut BIO, BioMethod), ErrorStack> { in new() argument
Dadapter.rs418 pub(crate) fn ssl_new(&self, domain: &str) -> Result<TlsSsl, ErrorStack> { in ssl_new() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dctx.rs50 pub(crate) fn builder(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> { in builder() argument
86 pub(crate) fn new(method: SslMethod) -> Result<Self, ErrorStack> { in new() argument
116 pub(crate) fn set_min_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_min_proto_version() argument
130 pub(crate) fn set_max_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_max_proto_version() argument
169 pub(crate) fn set_cipher_list(&mut self, list: &str) -> Result<(), ErrorStack> { in set_cipher_list() argument
180 pub(crate) fn set_cipher_suites(&mut self, list: &str) -> Result<(), ErrorStack> { in set_cipher_suites() argument
245 pub(crate) fn set_alpn_protos(&mut self, protocols: &[u8]) -> Result<(), ErrorStack> { in set_alpn_protos() argument
Dssl_base.rs46 pub(crate) fn new(ctx: &SslContext) -> Result<Ssl, ErrorStack> { in new() argument
113 pub(crate) fn set_host_name_in_sni(&mut self, name: &str) -> Result<(), ErrorStack> { in set_host_name_in_sni() argument
128 pub(crate) fn set_verify_hostname(&mut self, host_name: &str) -> Result<(), ErrorStack> { in set_verify_hostname() argument
Dstream.rs133 pub(crate) fn new_base(ssl: Ssl, stream: S) -> Result<Self, ErrorStack> { in new_base() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dc_ssl_stream.rs56 pub(crate) fn new(ssl: Ssl, stream: S) -> Result<Self, ErrorStack> { in new() argument