pub enum InResponse<'a> {
Accepted(&'a [u8]),
Rejected,
}
Expand description
Response for a CONTROL IN request.
Variants§
Accepted(&'a [u8])
The request was accepted. The buffer contains the response data.
Rejected
The request was rejected.
Trait Implementations§
Source§impl<'a> Clone for InResponse<'a>
impl<'a> Clone for InResponse<'a>
Source§fn clone(&self) -> InResponse<'a>
fn clone(&self) -> InResponse<'a>
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<'a> Debug for InResponse<'a>
impl<'a> Debug for InResponse<'a>
Source§impl<'a> Format for InResponse<'a>
impl<'a> Format for InResponse<'a>
Source§impl<'a> PartialEq for InResponse<'a>
impl<'a> PartialEq for InResponse<'a>
impl<'a> Copy for InResponse<'a>
impl<'a> Eq for InResponse<'a>
impl<'a> StructuralPartialEq for InResponse<'a>
Auto Trait Implementations§
impl<'a> Freeze for InResponse<'a>
impl<'a> RefUnwindSafe for InResponse<'a>
impl<'a> Send for InResponse<'a>
impl<'a> Sync for InResponse<'a>
impl<'a> Unpin for InResponse<'a>
impl<'a> UnwindSafe for InResponse<'a>
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