Enum sbp::messages::integrity::msg_acknowledge::ResponseCode
source · pub enum ResponseCode {
Ok = 0,
OutOfCoverage = 1,
Forbidden = 2,
InvalidRequest = 3,
InvalidAreaId = 4,
}
Expand description
Response code
Variants§
Ok = 0
Ok
OutOfCoverage = 1
Out of coverage
Forbidden = 2
Forbidden
InvalidRequest = 3
Invalid request
InvalidAreaId = 4
Invalid area id
Trait Implementations§
source§impl Clone for ResponseCode
impl Clone for ResponseCode
source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResponseCode
impl Debug for ResponseCode
source§impl Display for ResponseCode
impl Display for ResponseCode
source§impl Hash for ResponseCode
impl Hash for ResponseCode
source§impl PartialEq for ResponseCode
impl PartialEq for ResponseCode
source§fn eq(&self, other: &ResponseCode) -> bool
fn eq(&self, other: &ResponseCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for ResponseCode
impl TryFrom<u8> for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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