Struct enet_client::EnetClient [−][src]
pub struct EnetClient { /* fields omitted */ }Implementations
pub async fn new<A>(addr: A) -> Result<Self, ClientConnectError> where
A: ToSocketAddrs + Clone + Send + Sync + 'static,
pub async fn set_value(
&mut self,
number: u32,
value: SetValue
) -> Result<ItemValueRes, SetValuesCommandError>
pub async fn set_values(
&mut self,
values: impl IntoIterator<Item = ItemSetValue>
) -> Result<ItemValueRes, SetValuesCommandError>
Auto Trait Implementations
impl !RefUnwindSafe for EnetClient
impl Send for EnetClient
impl Sync for EnetClient
impl Unpin for EnetClient
impl !UnwindSafe for EnetClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more