Lines Matching defs:Thing
34 struct Thing {
39 impl AsFd for Thing {
48 impl IntoFd for Thing {
56 impl From<Thing> for OwnedFd {
58 fn from(owned: Thing) -> Self {
65 impl FromFd for Thing {
73 impl From<OwnedFd> for Thing {
81 impl AsHandle for Thing {
90 impl IntoHandle for Thing {
98 impl From<Thing> for OwnedHandle {
100 fn from(owned: Thing) -> Self {
107 impl FromHandle for Thing {
115 impl From<OwnedHandle> for Thing {
126 // Minimally exercise `Thing`'s Posix-ish API.
130 let thing = Thing::from_into_fd(file);
135 // Minimally exercise `Thing`'s Windows API.
139 let thing = Thing::from_into_handle(file);
148 let thing = Thing::from_into_filelike(file);