Struct actix_server::Io
source · pub struct Io<T, P = ()> { /* private fields */ }
Implementations§
source§impl<T, P> Io<T, P>
impl<T, P> Io<T, P>
sourcepub fn from_parts(io: T, params: P, proto: Protocol) -> Io<T, P>
pub fn from_parts(io: T, params: P, proto: Protocol) -> Io<T, P>
Reconstruct from a parts.
sourcepub fn into_parts(self) -> (T, P, Protocol)
pub fn into_parts(self) -> (T, P, Protocol)
Deconstruct into a parts.
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for Io<T, P>
impl<T, P> RefUnwindSafe for Io<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for Io<T, P>
impl<T, P> Sync for Io<T, P>
impl<T, P> Unpin for Io<T, P>
impl<T, P> UnwindSafe for Io<T, P>where
T: UnwindSafe,
P: 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