pub enum PaperServerError {
Internal,
MaxConnectionsExceeded,
Unauthorized,
}Variants§
Trait Implementations§
Source§impl Debug for PaperServerError
impl Debug for PaperServerError
Source§impl Display for PaperServerError
impl Display for PaperServerError
Source§impl Error for PaperServerError
impl Error for PaperServerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PaperServerError> for PaperClientError
impl From<PaperServerError> for PaperClientError
Source§fn from(source: PaperServerError) -> Self
fn from(source: PaperServerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PaperServerError
impl PartialEq for PaperServerError
Source§fn eq(&self, other: &PaperServerError) -> bool
fn eq(&self, other: &PaperServerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaperServerError
Auto Trait Implementations§
impl Freeze for PaperServerError
impl RefUnwindSafe for PaperServerError
impl Send for PaperServerError
impl Sync for PaperServerError
impl Unpin for PaperServerError
impl UnsafeUnpin for PaperServerError
impl UnwindSafe for PaperServerError
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