mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 09:05:45 +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 {
|
||||
status::Error::Decode => Error::StatusDecode,
|
||||
status::Error::Undefined => Error::StatusUndefined,
|
||||
status::Error::Protocol => Error::StatusProtocol,
|
||||
},
|
||||
None,
|
||||
)),
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@ pub enum Error {
|
|||
InputStream,
|
||||
Protocol,
|
||||
StatusDecode,
|
||||
StatusProtocol,
|
||||
StatusUndefined,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue