pub enum LightstreamerError {
Connection(String),
Subscription(String),
Authentication(String),
Configuration(String),
Network(String),
General(String),
}Expand description
General Lightstreamer error type
Variants§
Connection(String)
Connection related errors
Subscription(String)
Subscription related errors
Authentication(String)
Authentication errors
Configuration(String)
Configuration errors
Network(String)
Network errors
General(String)
General errors
Trait Implementations§
Source§impl Clone for LightstreamerError
impl Clone for LightstreamerError
Source§fn clone(&self) -> LightstreamerError
fn clone(&self) -> LightstreamerError
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 LightstreamerError
impl Debug for LightstreamerError
Source§impl Display for LightstreamerError
impl Display for LightstreamerError
impl Eq for LightstreamerError
Source§impl Error for LightstreamerError
impl Error for LightstreamerError
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 PartialEq for LightstreamerError
impl PartialEq for LightstreamerError
Source§fn eq(&self, other: &LightstreamerError) -> bool
fn eq(&self, other: &LightstreamerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LightstreamerError
Auto Trait Implementations§
impl Freeze for LightstreamerError
impl RefUnwindSafe for LightstreamerError
impl Send for LightstreamerError
impl Sync for LightstreamerError
impl Unpin for LightstreamerError
impl UnsafeUnpin for LightstreamerError
impl UnwindSafe for LightstreamerError
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