pub enum NeuronError {
Unavailable,
MissingSymbol(&'static str),
Runtime(u32),
BadName,
}Expand description
Errors from the Neuron runtime wrappers.
Variants§
libnrt is not loaded.
MissingSymbol(&'static str)
The loaded libnrt does not export the named symbol.
Runtime(u32)
libnrt returned a non-success NRT_STATUS.
BadName
A name could not be converted to a C string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NeuronError
impl RefUnwindSafe for NeuronError
impl Send for NeuronError
impl Sync for NeuronError
impl Unpin for NeuronError
impl UnsafeUnpin for NeuronError
impl UnwindSafe for NeuronError
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