Enum xray_lite::InfallibleClient
source · pub enum InfallibleClient<C> {
Op(C),
Noop,
}
Expand description
Infallible client.
Variants§
Implementations§
Trait Implementations§
source§impl<C> Client for InfallibleClient<C>where
C: Client,
impl<C> Client for InfallibleClient<C>where
C: Client,
source§impl<C: Clone> Clone for InfallibleClient<C>
impl<C: Clone> Clone for InfallibleClient<C>
source§fn clone(&self) -> InfallibleClient<C>
fn clone(&self) -> InfallibleClient<C>
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 moreAuto Trait Implementations§
impl<C> RefUnwindSafe for InfallibleClient<C>where
C: RefUnwindSafe,
impl<C> Send for InfallibleClient<C>where
C: Send,
impl<C> Sync for InfallibleClient<C>where
C: Sync,
impl<C> Unpin for InfallibleClient<C>where
C: Unpin,
impl<C> UnwindSafe for InfallibleClient<C>where
C: UnwindSafe,
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