Enum net_ensembles::GraphErrors
source · [−]pub enum GraphErrors {
EdgeExists,
EdgeDoesNotExist,
}
Expand description
Error messages
Variants
EdgeExists
somehow, the existing of the edge is a problem
Did you try to add an edge, which is already present?
EdgeDoesNotExist
ERROR 404: Edge not found ;)
Did you try to delete a non existing edge?
Implementations
sourceimpl GraphErrors
impl GraphErrors
Trait Implementations
sourceimpl Clone for GraphErrors
impl Clone for GraphErrors
sourcefn clone(&self) -> GraphErrors
fn clone(&self) -> GraphErrors
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GraphErrors
impl Debug for GraphErrors
sourceimpl<'de> Deserialize<'de> for GraphErrors
impl<'de> Deserialize<'de> for GraphErrors
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for GraphErrors
impl Display for GraphErrors
sourceimpl Serialize for GraphErrors
impl Serialize for GraphErrors
impl Copy for GraphErrors
Auto Trait Implementations
impl RefUnwindSafe for GraphErrors
impl Send for GraphErrors
impl Sync for GraphErrors
impl Unpin for GraphErrors
impl UnwindSafe for GraphErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more