Enum sozu_lib::socket::SocketResult
source · pub enum SocketResult {
Continue,
Closed,
WouldBlock,
Error,
}
Variants§
Trait Implementations§
source§impl Clone for SocketResult
impl Clone for SocketResult
source§fn clone(&self) -> SocketResult
fn clone(&self) -> SocketResult
Returns a copy of the value. Read more
1.0.0 · 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 SocketResult
impl Debug for SocketResult
source§impl PartialEq for SocketResult
impl PartialEq for SocketResult
source§fn eq(&self, other: &SocketResult) -> bool
fn eq(&self, other: &SocketResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SocketResult
impl Eq for SocketResult
impl StructuralPartialEq for SocketResult
Auto Trait Implementations§
impl Freeze for SocketResult
impl RefUnwindSafe for SocketResult
impl Send for SocketResult
impl Sync for SocketResult
impl Unpin for SocketResult
impl UnwindSafe for SocketResult
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.