Enum net_ensembles::watts_strogatz::WSCreationError [−][src]
pub enum WSCreationError {
ImpossibleRingRequest,
ImpossibleEdgeRequest,
}
Expand description
Error variants
Possible Errors which can be encountered during the initial creation of an instance of a WS
Variants
It is impossible to create the initial ring structure. You have to either increase the system size of the graph (i.e., the number of nodes) or reduce the neigbor distance!
Something went wrong during the rewireing. This should not happen. If you encounter this error, please file a bug report on Github with a minimal example to reproduce the bug. Thanks!
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WSCreationError
impl Send for WSCreationError
impl Sync for WSCreationError
impl Unpin for WSCreationError
impl UnwindSafe for WSCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more