pub struct WriteHalf<'a, RW>(/* private fields */);
Expand description
Adapt an AsReadWriteGrip
implementation to implement
AsGrip
with the write handle.
Implementations§
Trait Implementations§
Source§impl<'a, RW: AsReadWriteFd> AsFd for WriteHalf<'a, RW>
impl<'a, RW: AsReadWriteFd> AsFd for WriteHalf<'a, RW>
Source§fn as_fd(&self) -> BorrowedFd<'a>
fn as_fd(&self) -> BorrowedFd<'a>
Borrows the file descriptor. Read more
impl<'a, RW: Copy> Copy for WriteHalf<'a, RW>
Auto Trait Implementations§
impl<'a, RW> Freeze for WriteHalf<'a, RW>
impl<'a, RW> RefUnwindSafe for WriteHalf<'a, RW>where
RW: RefUnwindSafe,
impl<'a, RW> Send for WriteHalf<'a, RW>where
RW: Sync,
impl<'a, RW> Sync for WriteHalf<'a, RW>where
RW: Sync,
impl<'a, RW> Unpin for WriteHalf<'a, RW>
impl<'a, RW> UnwindSafe for WriteHalf<'a, RW>where
RW: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> AsFilelike for Twhere
T: AsFd,
impl<T> AsFilelike for Twhere
T: AsFd,
Source§fn as_filelike(&self) -> BorrowedFd<'_>
fn as_filelike(&self) -> BorrowedFd<'_>
Borrows the reference. Read more
Source§fn as_filelike_view<Target>(&self) -> FilelikeView<'_, Target>where
Target: FilelikeViewType,
fn as_filelike_view<Target>(&self) -> FilelikeView<'_, Target>where
Target: FilelikeViewType,
Return a borrowing view of a resource which dereferences to a
&Target
. Read moreSource§impl<T> AsGrip for Twhere
T: AsFd,
impl<T> AsGrip for Twhere
T: AsFd,
Source§fn as_grip(&self) -> BorrowedFd<'_>
fn as_grip(&self) -> BorrowedFd<'_>
Extracts the grip.
Source§impl<T> AsSocketlike for Twhere
T: AsFd,
impl<T> AsSocketlike for Twhere
T: AsFd,
Source§fn as_socketlike(&self) -> BorrowedFd<'_>
fn as_socketlike(&self) -> BorrowedFd<'_>
Borrows the reference.
Source§fn as_socketlike_view<Target>(&self) -> SocketlikeView<'_, Target>where
Target: SocketlikeViewType,
fn as_socketlike_view<Target>(&self) -> SocketlikeView<'_, Target>where
Target: SocketlikeViewType,
Return a borrowing view of a resource which dereferences to a
&Target
. Read moreSource§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)