pub enum Response {
FullInfo(LaserInfo),
BufferFree(u16),
Ack,
}Expand description
Responses from LaserCube device
Variants§
FullInfo(LaserInfo)
Full device information
BufferFree(u16)
Buffer free space
Ack
Simple acknowledgment
Trait Implementations§
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 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