pub enum ScmSocketError {
SetBlocking {
blocking: bool,
error: Error,
},
Send(String),
Receive(String),
InvalidCharSet(String),
ListenerParse(String),
WrongSocketAddress {
address: String,
error: AddrParseError,
},
DecodeError(DecodeError),
}
Variants§
SetBlocking
Send(String)
Receive(String)
InvalidCharSet(String)
ListenerParse(String)
WrongSocketAddress
DecodeError(DecodeError)
Trait Implementations§
source§impl Debug for ScmSocketError
impl Debug for ScmSocketError
source§impl Display for ScmSocketError
impl Display for ScmSocketError
source§impl Error for ScmSocketError
impl Error for ScmSocketError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for ScmSocketError
impl !RefUnwindSafe for ScmSocketError
impl Send for ScmSocketError
impl Sync for ScmSocketError
impl Unpin for ScmSocketError
impl !UnwindSafe for ScmSocketError
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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