pub enum NewReceiveNameError {
MissingDotSeparator,
TooLong,
InvalidCharacters,
}
Variants
MissingDotSeparator
TooLong
InvalidCharacters
Trait Implementations
sourceimpl Clone for NewReceiveNameError
impl Clone for NewReceiveNameError
sourcefn clone(&self) -> NewReceiveNameError
fn clone(&self) -> NewReceiveNameError
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 NewReceiveNameError
impl Debug for NewReceiveNameError
sourceimpl Display for NewReceiveNameError
impl Display for NewReceiveNameError
sourceimpl From<NewReceiveNameError> for Reject
impl From<NewReceiveNameError> for Reject
MissingDotSeparator is mapped to i32::MIN + 7, TooLong to i32::MIN + 8, and InvalidCharacters to i32::MIN + 11.
sourcefn from(nre: NewReceiveNameError) -> Self
fn from(nre: NewReceiveNameError) -> Self
Converts to this type from the input type.
impl Eq for NewReceiveNameError
impl StructuralEq for NewReceiveNameError
impl StructuralPartialEq for NewReceiveNameError
Auto Trait Implementations
impl RefUnwindSafe for NewReceiveNameError
impl Send for NewReceiveNameError
impl Sync for NewReceiveNameError
impl Unpin for NewReceiveNameError
impl UnwindSafe for NewReceiveNameError
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