#[derive(Debug, PartialEq)]pubenumFrameEncodeError{
CorruptFrame,/// Attempted to write to a stream that has already ended.
WriteAfterEnd,/// Attempted to write to a stream that was canceled prematurely.
WriteAfterCancel,}#[derive(Debug, Clone, PartialEq)]pubenumFrameDecodeError{
CorruptFrame,/// Attempted to write to a stream that has already ended.
ReadAfterEnd,/// Attempted to write to a stream that was canceled prematurely.
ReadAfterCancel,
IncompleteHeader,}