[−][src]Struct actix_connect::Connection
Methods
impl<T, U> Connection<T, U>
[src]
impl<T, U> Connection<T, U>
[src]
pub fn from_parts(io: U, req: T) -> Self
[src]
Reconstruct from a parts.
pub fn into_parts(self) -> (U, T)
[src]
Deconstruct into a parts.
pub fn replace<Y>(self, io: Y) -> (U, Connection<T, Y>)
[src]
Replace inclosed object, return new Stream and old object
pub fn get_ref(&self) -> &U
[src]
Returns a shared reference to the underlying stream.
pub fn get_mut(&mut self) -> &mut U
[src]
Returns a mutable reference to the underlying stream.
impl<T: Address, U> Connection<T, U>
[src]
Trait Implementations
impl<T, U> Deref for Connection<T, U>
[src]
impl<T, U> DerefMut for Connection<T, U>
[src]
impl<T, U: Debug> Debug for Connection<T, U>
[src]
Auto Trait Implementations
impl<T, U> Send for Connection<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for Connection<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<T, U> Unpin for Connection<T, U> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Connection<T, U> where
T: UnwindSafe,
U: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
impl<T, U> RefUnwindSafe for Connection<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, A, P> Access<T> for P where
A: Access<T>,
P: Deref<Target = A>,
[src]
A: Access<T>,
P: Deref<Target = A>,
type Guard = <A as Access<T>>::Guard
A guard object containing the value and keeping it alive. Read more
fn load(&self) -> <P as Access<T>>::Guard
[src]
impl<T, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]
A: Access<T>,
<A as Access<T>>::Guard: 'static,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,