pub enum OwnedMacCommand {
BeaconRequest {
nonce: Option<u32>,
},
IdentityRequest,
SignalReportRequest,
SignalReportResponse {
rssi: u8,
snr: i8,
},
EchoRequest {
data: Vec<u8>,
},
EchoResponse {
data: Vec<u8>,
},
PfsSessionRequest {
ephemeral_key: PublicKey,
duration_minutes: u16,
},
PfsSessionResponse {
ephemeral_key: PublicKey,
duration_minutes: u16,
},
EndPfsSession,
}Variants§
BeaconRequest
IdentityRequest
SignalReportRequest
SignalReportResponse
EchoRequest
EchoResponse
PfsSessionRequest
PfsSessionResponse
EndPfsSession
Trait Implementations§
Source§impl Clone for OwnedMacCommand
impl Clone for OwnedMacCommand
Source§fn clone(&self) -> OwnedMacCommand
fn clone(&self) -> OwnedMacCommand
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnedMacCommand
impl Debug for OwnedMacCommand
Source§impl From<MacCommand<'_>> for OwnedMacCommand
impl From<MacCommand<'_>> for OwnedMacCommand
Source§fn from(value: MacCommand<'_>) -> Self
fn from(value: MacCommand<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OwnedMacCommand
impl PartialEq for OwnedMacCommand
impl Eq for OwnedMacCommand
impl StructuralPartialEq for OwnedMacCommand
Auto Trait Implementations§
impl Freeze for OwnedMacCommand
impl RefUnwindSafe for OwnedMacCommand
impl Send for OwnedMacCommand
impl Sync for OwnedMacCommand
impl Unpin for OwnedMacCommand
impl UnwindSafe for OwnedMacCommand
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)