Enum sbp::messages::system::msg_heartbeat::SwiftNapError
source · [−]pub enum SwiftNapError {
SystemHealthy,
AnErrorHasOccurredInTheSwiftNap,
}
Expand description
SwiftNAP Error
Variants
SystemHealthy
System Healthy
AnErrorHasOccurredInTheSwiftNap
An error has occurred in the SwiftNAP
Trait Implementations
sourceimpl Clone for SwiftNapError
impl Clone for SwiftNapError
sourcefn clone(&self) -> SwiftNapError
fn clone(&self) -> SwiftNapError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SwiftNapError
impl Debug for SwiftNapError
sourceimpl Display for SwiftNapError
impl Display for SwiftNapError
sourceimpl Hash for SwiftNapError
impl Hash for SwiftNapError
sourceimpl PartialEq<SwiftNapError> for SwiftNapError
impl PartialEq<SwiftNapError> for SwiftNapError
sourceimpl TryFrom<u8> for SwiftNapError
impl TryFrom<u8> for SwiftNapError
impl Copy for SwiftNapError
impl Eq for SwiftNapError
impl StructuralEq for SwiftNapError
impl StructuralPartialEq for SwiftNapError
Auto Trait Implementations
impl RefUnwindSafe for SwiftNapError
impl Send for SwiftNapError
impl Sync for SwiftNapError
impl Unpin for SwiftNapError
impl UnwindSafe for SwiftNapError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more