xwt-error 0.10.0

A suite of reusable error types that naturally emerge from the xwt API. Use when you don't want/need your own more precise types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::*;

impl<Endpoint> std::error::Error for Connect<Endpoint> where Endpoint: xwt_core::endpoint::Connect {}

impl<Endpoint> std::error::Error for Accept<Endpoint> where Endpoint: xwt_core::endpoint::Accept {}

impl<TAccepting> std::error::Error for Accepting<TAccepting> where
    TAccepting: xwt_core::endpoint::accept::Accepting
{
}

impl<Session> std::error::Error for OpenBi<Session> where Session: xwt_core::session::stream::OpenBi {}

impl<Session> std::error::Error for OpenUni<Session> where
    Session: xwt_core::session::stream::OpenUni
{
}