Lines Matching refs:from
12 /// A trait to borrow the file descriptor from an underlying object.
36 /// A trait to borrow the handle from an underlying object.
56 /// A trait to borrow the socket from an underlying object.
124 /// A trait to express the ability to construct an object from a file
128 /// Constructs a new instance of `Self` from the given file descriptor.
144 note = "`FromFd::from_fd` is replaced by `From<OwnedFd>::from`"
148 /// Constructs a new instance of `Self` from the given file descriptor
149 /// converted from `into_owned`.
167 Self::from(into_owned.into())
171 /// A trait to express the ability to construct an object from a handle.
174 /// Constructs a new instance of `Self` from the given handle.
190 note = "`FromHandle::from_handle` is replaced by `From<OwnedHandle>::from`"
194 /// Constructs a new instance of `Self` from the given handle converted
195 /// from `into_owned`.
213 Self::from(into_owned.into())
217 /// A trait to express the ability to construct an object from a socket.
220 /// Constructs a new instance of `Self` from the given socket.
223 note = "`FromSocket::from_socket` is replaced by `From<OwnedSocket>::from`"
227 /// Constructs a new instance of `Self` from the given socket converted
228 /// from `into_owned`.
234 Self::from(into_owned.into())