Enum rant::DataSourceRegisterError
source · [−]Expand description
Represents error states that can occur when registering a data source on a Rant execution context.
Variants
InvalidTypeId(String)
The type ID provided by the data source was invalid.
AlreadyExists(String)
A data source with the specified type ID was already registered on the context.
Trait Implementations
sourceimpl Debug for DataSourceRegisterError
impl Debug for DataSourceRegisterError
Auto Trait Implementations
impl RefUnwindSafe for DataSourceRegisterError
impl Send for DataSourceRegisterError
impl Sync for DataSourceRegisterError
impl Unpin for DataSourceRegisterError
impl UnwindSafe for DataSourceRegisterError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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