pub struct InterchangeResponse<const N: usize>(pub Result<Bytes<N>, Error>);Expand description
Wrapper struct that implements Default to be able to use response_mut
Tuple Fields§
§0: Result<Bytes<N>, Error>Trait Implementations§
Source§impl<const N: usize> Default for InterchangeResponse<N>
impl<const N: usize> Default for InterchangeResponse<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for InterchangeResponse<N>
impl<const N: usize> RefUnwindSafe for InterchangeResponse<N>
impl<const N: usize> Send for InterchangeResponse<N>
impl<const N: usize> Sync for InterchangeResponse<N>
impl<const N: usize> Unpin for InterchangeResponse<N>
impl<const N: usize> UnwindSafe for InterchangeResponse<N>
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