pub enum NegotiatedClient {
V1_6(OCPP1_6Client),
V2_0_1(OCPP2_0_1Client),
V2_1(OCPP2_1Client),
}Expand description
A Client for whichever OCPP version the server actually picked when connecting via
connect. Which variants exist depends on which ocpp_1_6/ocpp_2_0_1/ocpp_2_1 features
are enabled, same as the version-specific connect_* functions.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for NegotiatedClient
impl !UnwindSafe for NegotiatedClient
impl Freeze for NegotiatedClient
impl Send for NegotiatedClient
impl Sync for NegotiatedClient
impl Unpin for NegotiatedClient
impl UnsafeUnpin for NegotiatedClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more