Enum Response
#[repr(u8)]pub enum Response {
NoResp = 0,
ZeroData = 1,
}Variants§
NoResp = 0
Endpoint does not respond in that case.
ZeroData = 1
Endpoint responds with a zero-length data packet in that case.
Implementations§
Trait Implementations§
impl Copy for Response
impl Eq for Response
§impl Ord for Response
impl Ord for Response
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Response
impl PartialOrd for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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