Enum open_coroutine::StackError
source · Expand description
Error type returned by stack allocation methods.
Variants§
ExceedsMaximumSize(usize)
Contains the maximum amount of memory allowed to be allocated as stack space.
IoError(Error)
Returned if some kind of I/O error happens during allocation.
Trait Implementations§
source§impl Debug for StackError
impl Debug for StackError
source§impl Display for StackError
impl Display for StackError
source§impl Error for StackError
impl Error for StackError
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()