Struct arduino_esp::Stream
[−]
[src]
#[repr(C)]pub struct Stream { pub _base: Print, pub _timeout: c_ulong, pub _startMillis: c_ulong, }
Fields
_base: Print
_timeout: c_ulong
_startMillis: c_ulong
Methods
impl Stream
[src]
unsafe fn timedRead(&mut self) -> c_int
[src]
unsafe fn timedPeek(&mut self) -> c_int
[src]
unsafe fn peekNextDigit(&mut self) -> c_int
[src]
unsafe fn setTimeout(&mut self, timeout: c_ulong)
[src]
unsafe fn find(&mut self, target: *const c_char) -> bool
[src]
unsafe fn find1(&mut self, target: *const c_char, length: usize) -> bool
[src]
unsafe fn findUntil(
&mut self,
target: *const c_char,
terminator: *const c_char
) -> bool
[src]
&mut self,
target: *const c_char,
terminator: *const c_char
) -> bool
unsafe fn findUntil1(
&mut self,
target: *const c_char,
targetLen: usize,
terminate: *const c_char,
termLen: usize
) -> bool
[src]
&mut self,
target: *const c_char,
targetLen: usize,
terminate: *const c_char,
termLen: usize
) -> bool
unsafe fn parseInt(&mut self) -> c_long
[src]
unsafe fn parseFloat(&mut self) -> f32
[src]
unsafe fn readBytesUntil(
&mut self,
terminator: c_char,
buffer: *mut c_char,
length: usize
) -> usize
[src]
&mut self,
terminator: c_char,
buffer: *mut c_char,
length: usize
) -> usize