Struct netty_rs::Error [−][src]
pub struct Error<E: HandlerError> { pub kind: ErrorKind<E>, pub msg: String, }
Error returned by netty-rs
Fields
kind: ErrorKind<E>
The kind of error
msg: String
The message provided with the error
Trait Implementations
impl<E: Clone + HandlerError> Clone for Error<E>
[src]
impl<E: Debug + HandlerError> Debug for Error<E>
[src]
impl<E: Eq + HandlerError> Eq for Error<E>
[src]
impl<T: HandlerError> From<T> for Error<T>
[src]
impl<E: Hash + HandlerError> Hash for Error<E>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<E: Ord + HandlerError> Ord for Error<E>
[src]
fn cmp(&self, other: &Error<E>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn max(self, other: Self) -> Self#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn min(self, other: Self) -> Self#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
#[must_use]
pub fn clamp(self, min: Self, max: Self) -> Selfimpl<E: PartialEq + HandlerError> PartialEq<Error<E>> for Error<E>
[src]
impl<E: PartialOrd + HandlerError> PartialOrd<Error<E>> for Error<E>
[src]
fn partial_cmp(&self, other: &Error<E>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<E: HandlerError> StructuralEq for Error<E>
[src]
impl<E: HandlerError> StructuralPartialEq for Error<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for Error<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for Error<E>
impl<E> Sync for Error<E>
impl<E> Unpin for Error<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for Error<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T> HandlerError for T where
T: Send + Sync + Debug + 'static + Clone,
[src]
T: Send + Sync + Debug + 'static + Clone,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,