pub enum SetLedCurrentResponse {
OK,
BadRequest(BadRequest),
OperationFailed(OpError),
}Variants§
Trait Implementations§
Source§impl Debug for SetLedCurrentResponse
impl Debug for SetLedCurrentResponse
Source§impl PartialEq for SetLedCurrentResponse
impl PartialEq for SetLedCurrentResponse
Source§fn eq(&self, other: &SetLedCurrentResponse) -> bool
fn eq(&self, other: &SetLedCurrentResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetLedCurrentResponse
Auto Trait Implementations§
impl Freeze for SetLedCurrentResponse
impl RefUnwindSafe for SetLedCurrentResponse
impl Send for SetLedCurrentResponse
impl Sync for SetLedCurrentResponse
impl Unpin for SetLedCurrentResponse
impl UnsafeUnpin for SetLedCurrentResponse
impl UnwindSafe for SetLedCurrentResponse
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more