Lines Matching refs:stream
30 /// possible stream sources
40 pub fn is(stream: Stream) -> bool {
43 let fd = match stream {
53 pub fn is(stream: Stream) -> bool {
56 let fd = match stream {
66 pub fn is(stream: Stream) -> bool {
72 let (fd, others) = match stream {
85 // any of the other streams. If another stream has a console, then we know
97 pub fn isnt(stream: Stream) -> bool {
98 !is(stream)