Struct onewire::OneWire[][src]

pub struct OneWire<'a> { /* fields omitted */ }

Methods

impl<'a> OneWire<'a>
[src]

Performs a reset and listens for a presence pulse Returns Err(WireNotHigh) if the wire seems to be shortened, Ok(true) if presence pulse has been received and Ok(false) if no other device was detected but the wire seems to be ok

Auto Trait Implementations

impl<'a> !Send for OneWire<'a>

impl<'a> !Sync for OneWire<'a>