Skip to content

Commit

Permalink
Add BiStreamOpenErrorFor and UniStreamOpenErrorFor utils to xwt-core
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed May 5, 2024
1 parent 9b3cce6 commit d9832b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/xwt-core/src/session/stream_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

use super::stream;

pub type BiStreamOpenErrorFor<T> = <T as stream::OpenBi>::Error;
pub type BiStreamOpeningErrorFor<T> = <<T as stream::OpenBi>::Opening as stream::OpeningBi>::Error;

pub type UniStreamOpenErrorFor<T> = <T as stream::OpenUni>::Error;
pub type UniStreamOpeningErrorFor<T> =
<<T as stream::OpenUni>::Opening as stream::OpeningUni>::Error;

Expand Down

0 comments on commit d9832b1

Please sign in to comment.