Enum carrier_pigeon::MsgRegError
source · [−]pub enum MsgRegError {
TypeAlreadyRegistered,
NonUniqueIdentifier,
}
Expand description
The possible errors when registering a type.
Variants
TypeAlreadyRegistered
The type was already registered.
NonUniqueIdentifier
The identifier string was already used.
Trait Implementations
sourceimpl Clone for MsgRegError
impl Clone for MsgRegError
sourcefn clone(&self) -> MsgRegError
fn clone(&self) -> MsgRegError
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 more
sourceimpl Debug for MsgRegError
impl Debug for MsgRegError
sourceimpl Display for MsgRegError
impl Display for MsgRegError
sourceimpl PartialEq<MsgRegError> for MsgRegError
impl PartialEq<MsgRegError> for MsgRegError
impl Copy for MsgRegError
impl Eq for MsgRegError
impl StructuralEq for MsgRegError
impl StructuralPartialEq for MsgRegError
Auto Trait Implementations
impl RefUnwindSafe for MsgRegError
impl Send for MsgRegError
impl Sync for MsgRegError
impl Unpin for MsgRegError
impl UnwindSafe for MsgRegError
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more