pub enum LiquidError {
RowIndexOutOfBounds,
ColIndexOutOfBounds,
NameAlreadyExists,
TypeMismatch,
NetworkError(Error),
SerdeError(Box<ErrorKind>),
UnknownId,
ReconnectionError,
NotPresent,
StreamClosed,
UnexpectedMessage,
}Expand description
An enumeration of LiquidML errors.
Variants§
RowIndexOutOfBounds
Attempted to access a row in a DataFrame that is out of bounds
ColIndexOutOfBounds
Attempted to access a column in a DataFrame that is out of bounds
NameAlreadyExists
Attempted to add or re-name a Column in a DataFrame to a name that
is already in use in that DataFrame
TypeMismatch
Attempted to perform an operation that conflicts with a DataFrames
schema, e.g. attempting to use set_int for a column that is of type
String
NetworkError(Error)
A generic error when there is an underlying error with a TCP
connection
SerdeError(Box<ErrorKind>)
An error when serializing or deserializing
UnknownId
An error when trying to send messages to nodes that are not currently connected to this node
ReconnectionError
An error when multiple connections are made to the same id
NotPresent
An error when trying to get a value from a KVStore that does not
exist at that KVStore
StreamClosed
An error when a connection is closed unexpectedly
UnexpectedMessage
An error when messages are received unexpectedly, e.g. when a Client
is starting up and messages other than ControlMsgs are received
Trait Implementations§
Source§impl Debug for LiquidError
impl Debug for LiquidError
Source§impl Display for LiquidError
impl Display for LiquidError
Source§impl Error for LiquidError
impl Error for LiquidError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for LiquidError
impl !RefUnwindSafe for LiquidError
impl Send for LiquidError
impl Sync for LiquidError
impl Unpin for LiquidError
impl !UnwindSafe for LiquidError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more