#[repr(i32)]pub enum FlowError {
NotLinked = -1,
Flushing = -2,
Eos = -3,
NotNegotiated = -4,
Error = -5,
NotSupported = -6,
CustomError = -100,
CustomError1 = -101,
CustomError2 = -102,
}
Variants§
NotLinked = -1
Flushing = -2
Eos = -3
NotNegotiated = -4
Error = -5
NotSupported = -6
CustomError = -100
CustomError1 = -101
CustomError2 = -102
Trait Implementations§
source§impl Error for FlowError
impl Error for FlowError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<FlowError> for FlowReturn
impl From<FlowError> for FlowReturn
source§impl PartialEq for FlowError
impl PartialEq for FlowError
impl Copy for FlowError
impl Eq for FlowError
impl StructuralPartialEq for FlowError
Auto Trait Implementations§
impl RefUnwindSafe for FlowError
impl Send for FlowError
impl Sync for FlowError
impl Unpin for FlowError
impl UnwindSafe for FlowError
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