pub enum Response<const N: usize> {
}
Variants§
Ok(Vec<u8, N>)
Prompt(u8)
ReadError
WriteError
TimeoutError
InvalidResponseError
AbortedError
ParseError
OtherError
CmeError(u16)
CmsError(u16)
ConnectionError(u8)
CustomError(Vec<u8, N>)
Implementations§
Trait Implementations§
source§impl<'a, const N: usize> From<InternalError<'a>> for Response<N>
impl<'a, const N: usize> From<InternalError<'a>> for Response<N>
source§fn from(v: InternalError<'a>) -> Self
fn from(v: InternalError<'a>) -> Self
Converts to this type from the input type.
source§impl<const N: usize> PartialEq for Response<N>
impl<const N: usize> PartialEq for Response<N>
impl<const N: usize> StructuralPartialEq for Response<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Response<N>
impl<const N: usize> RefUnwindSafe for Response<N>
impl<const N: usize> Send for Response<N>
impl<const N: usize> Sync for Response<N>
impl<const N: usize> Unpin for Response<N>
impl<const N: usize> UnwindSafe for Response<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)