pub enum AcceptError {
Full,
Engine(Error),
}Expand description
Error returned when a server endpoint cannot accept a peer.
Variants§
Full
All peer slots are occupied.
Engine(Error)
The peer engine failed to queue the endpoint hello message.
Trait Implementations§
Source§impl Clone for AcceptError
impl Clone for AcceptError
Source§fn clone(&self) -> AcceptError
fn clone(&self) -> AcceptError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AcceptError
Source§impl Debug for AcceptError
impl Debug for AcceptError
impl Eq for AcceptError
Source§impl From<AcceptError> for Error
impl From<AcceptError> for Error
Source§fn from(error: AcceptError) -> Self
fn from(error: AcceptError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AcceptError
impl PartialEq for AcceptError
Source§fn eq(&self, other: &AcceptError) -> bool
fn eq(&self, other: &AcceptError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AcceptError
Auto Trait Implementations§
impl Freeze for AcceptError
impl RefUnwindSafe for AcceptError
impl Send for AcceptError
impl Sync for AcceptError
impl Unpin for AcceptError
impl UnsafeUnpin for AcceptError
impl UnwindSafe for AcceptError
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