mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
add new enums
This commit is contained in:
parent
c2b06fd688
commit
8dcab0f29e
2 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ impl Header {
|
||||||
match reason {
|
match reason {
|
||||||
status::Error::Decode => Error::StatusDecode,
|
status::Error::Decode => Error::StatusDecode,
|
||||||
status::Error::Undefined => Error::StatusUndefined,
|
status::Error::Undefined => Error::StatusUndefined,
|
||||||
|
status::Error::Protocol => Error::StatusProtocol,
|
||||||
},
|
},
|
||||||
None,
|
None,
|
||||||
)),
|
)),
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@ pub enum Error {
|
||||||
InputStream,
|
InputStream,
|
||||||
Protocol,
|
Protocol,
|
||||||
StatusDecode,
|
StatusDecode,
|
||||||
|
StatusProtocol,
|
||||||
StatusUndefined,
|
StatusUndefined,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue