pub enum StreamProtocolError {
Sequence,
Binding,
Resume,
Phase,
Payload,
Cursor,
}Expand description
Invalid stream framing must never advance a client’s durable observation.
Variants§
Trait Implementations§
Source§impl Clone for StreamProtocolError
impl Clone for StreamProtocolError
impl Copy for StreamProtocolError
Source§impl Debug for StreamProtocolError
impl Debug for StreamProtocolError
Source§impl Display for StreamProtocolError
impl Display for StreamProtocolError
impl Eq for StreamProtocolError
Source§impl Error for StreamProtocolError
impl Error for StreamProtocolError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<E> From<StreamProtocolError> for ObservationApplyError<E>
impl<E> From<StreamProtocolError> for ObservationApplyError<E>
Source§fn from(source: StreamProtocolError) -> Self
fn from(source: StreamProtocolError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamProtocolError
impl PartialEq for StreamProtocolError
impl StructuralPartialEq for StreamProtocolError
Auto Trait Implementations§
impl Freeze for StreamProtocolError
impl RefUnwindSafe for StreamProtocolError
impl Send for StreamProtocolError
impl Sync for StreamProtocolError
impl Unpin for StreamProtocolError
impl UnsafeUnpin for StreamProtocolError
impl UnwindSafe for StreamProtocolError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more