pub struct IoDetacher<T> { /* private fields */ }
Expand description
A handle used to detach the object from a DetachableIo
.
Implementations§
Source§impl<T: SerialIo + Unpin> IoDetacher<T>
impl<T: SerialIo + Unpin> IoDetacher<T>
Sourcepub fn detach(self) -> T
pub fn detach(self) -> T
Takes the underlying IO object from the associated DetachableIo
.
Auto Trait Implementations§
impl<T> Freeze for IoDetacher<T>
impl<T> !RefUnwindSafe for IoDetacher<T>
impl<T> Send for IoDetacher<T>where
T: Send,
impl<T> Sync for IoDetacher<T>where
T: Send,
impl<T> Unpin for IoDetacher<T>
impl<T> !UnwindSafe for IoDetacher<T>
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