pub enum SetServerPoolErrorKind {
Send,
InvalidAddress,
MixedSchemes,
EmptyPool,
}Variants§
Send
Failed to send command to the connection handler.
InvalidAddress
One or more server addresses could not be parsed.
MixedSchemes
The pool contains a mix of WebSocket (ws://, wss://) and
non-websocket (nats://, tls://) URLs, which is not allowed.
EmptyPool
The server pool cannot be empty.
Trait Implementations§
Source§impl Clone for SetServerPoolErrorKind
impl Clone for SetServerPoolErrorKind
Source§fn clone(&self) -> SetServerPoolErrorKind
fn clone(&self) -> SetServerPoolErrorKind
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 moreSource§impl Debug for SetServerPoolErrorKind
impl Debug for SetServerPoolErrorKind
Source§impl Display for SetServerPoolErrorKind
impl Display for SetServerPoolErrorKind
Source§impl PartialEq for SetServerPoolErrorKind
impl PartialEq for SetServerPoolErrorKind
Source§fn eq(&self, other: &SetServerPoolErrorKind) -> bool
fn eq(&self, other: &SetServerPoolErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SetServerPoolErrorKind
impl StructuralPartialEq for SetServerPoolErrorKind
Auto Trait Implementations§
impl Freeze for SetServerPoolErrorKind
impl RefUnwindSafe for SetServerPoolErrorKind
impl Send for SetServerPoolErrorKind
impl Sync for SetServerPoolErrorKind
impl Unpin for SetServerPoolErrorKind
impl UnsafeUnpin for SetServerPoolErrorKind
impl UnwindSafe for SetServerPoolErrorKind
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