Enum gremlin_client::GremlinError
source · pub enum GremlinError {
Generic(String),
WebSocket(Error),
Pool(Error),
WrongType(GValue),
Cast(String),
Json(String),
Request((i16, String)),
Serde(Error),
Uuid(Error),
}Variants§
Generic(String)
WebSocket(Error)
Pool(Error)
WrongType(GValue)
Cast(String)
Json(String)
Request((i16, String))
Serde(Error)
Uuid(Error)
Trait Implementations§
source§impl Debug for GremlinError
impl Debug for GremlinError
source§impl Display for GremlinError
impl Display for GremlinError
source§impl Error for GremlinError
impl Error for GremlinError
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<Error> for GremlinError
impl From<Error> for GremlinError
source§impl From<Error> for GremlinError
impl From<Error> for GremlinError
source§fn from(e: Error) -> GremlinError
fn from(e: Error) -> GremlinError
Converts to this type from the input type.
source§impl From<Error> for GremlinError
impl From<Error> for GremlinError
Auto Trait Implementations§
impl !RefUnwindSafe for GremlinError
impl Send for GremlinError
impl Sync for GremlinError
impl Unpin for GremlinError
impl !UnwindSafe for GremlinError
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