pub enum MessageKind {
Call,
Send,
}Expand description
Whether a message is a confirmed CALL or an unconfirmed SEND.
Variants§
Call
A CALL (message type 2), answered with CALLRESULT, CALLERROR or —
in 2.1 — CALLRESULTERROR.
Send
A SEND (message type 6, OCPP 2.1 only): never answered, and exempt from the
one-outstanding-CALL rule (Part 4 §4.2.4, FR.07).
Trait Implementations§
Source§impl Clone for MessageKind
impl Clone for MessageKind
impl Copy for MessageKind
Source§impl Debug for MessageKind
impl Debug for MessageKind
impl Eq for MessageKind
Source§impl Hash for MessageKind
impl Hash for MessageKind
Source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
impl StructuralPartialEq for MessageKind
Auto Trait Implementations§
impl Forget for MessageKind
impl Freeze for MessageKind
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnsafeUnpin for MessageKind
impl UnwindSafe for MessageKind
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