#[non_exhaustive]pub enum SubframeType {
Write,
Read,
Response,
WriteError,
ReadError,
StreamClientToServer,
StreamServerToClient,
StreamClientPollServer,
}Expand description
The type of a parsed subframe.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Write
Write register values
Read
Read register request
Response
Response to a read request
WriteError
Write error
ReadError
Read error
StreamClientToServer
Tunneled stream: client to server
StreamServerToClient
Tunneled stream: server to client
StreamClientPollServer
Tunneled stream: client poll server
Trait Implementations§
Source§impl Clone for SubframeType
impl Clone for SubframeType
Source§fn clone(&self) -> SubframeType
fn clone(&self) -> SubframeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubframeType
Source§impl Debug for SubframeType
impl Debug for SubframeType
impl Eq for SubframeType
Source§impl PartialEq for SubframeType
impl PartialEq for SubframeType
Source§fn eq(&self, other: &SubframeType) -> bool
fn eq(&self, other: &SubframeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubframeType
Auto Trait Implementations§
impl Freeze for SubframeType
impl RefUnwindSafe for SubframeType
impl Send for SubframeType
impl Sync for SubframeType
impl Unpin for SubframeType
impl UnsafeUnpin for SubframeType
impl UnwindSafe for SubframeType
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