pub enum Tls12Error {
Io,
Alert(u8, u8),
Protocol(&'static str),
Crypto,
}Variants§
Io
下層(TCP)の読み書き失敗、または途中で切断された。
Alert(u8, u8)
相手から警告(level, description)が届いた。
Protocol(&'static str)
形式・手順の誤り。
Crypto
復号・認証タグ・Finished の照合に失敗した。
Trait Implementations§
Source§impl Clone for Tls12Error
impl Clone for Tls12Error
Source§fn clone(&self) -> Tls12Error
fn clone(&self) -> Tls12Error
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Tls12Error
impl Debug for Tls12Error
Source§impl Display for Tls12Error
impl Display for Tls12Error
Source§impl Error for Tls12Error
impl Error for Tls12Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for Tls12Error
impl PartialEq for Tls12Error
impl StructuralPartialEq for Tls12Error
Auto Trait Implementations§
impl Freeze for Tls12Error
impl RefUnwindSafe for Tls12Error
impl Send for Tls12Error
impl Sync for Tls12Error
impl Unpin for Tls12Error
impl UnsafeUnpin for Tls12Error
impl UnwindSafe for Tls12Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more