pub enum NusbFastBootError {
Transfer(TransferError),
FastbootFailed(String),
FastbootUnexpectedReply,
FastbootParseError(FastBootResponseParseError),
}
Expand description
Fastboot communication errors
Variants§
Transfer(TransferError)
FastbootFailed(String)
FastbootUnexpectedReply
FastbootParseError(FastBootResponseParseError)
Trait Implementations§
Source§impl Debug for NusbFastBootError
impl Debug for NusbFastBootError
Source§impl Display for NusbFastBootError
impl Display for NusbFastBootError
Source§impl Error for NusbFastBootError
impl Error for NusbFastBootError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<FastBootResponseParseError> for NusbFastBootError
impl From<FastBootResponseParseError> for NusbFastBootError
Source§fn from(source: FastBootResponseParseError) -> Self
fn from(source: FastBootResponseParseError) -> Self
Converts to this type from the input type.
Source§impl From<NusbFastBootError> for DownloadError
impl From<NusbFastBootError> for DownloadError
Source§fn from(source: NusbFastBootError) -> Self
fn from(source: NusbFastBootError) -> Self
Converts to this type from the input type.
Source§impl From<TransferError> for NusbFastBootError
impl From<TransferError> for NusbFastBootError
Source§fn from(source: TransferError) -> Self
fn from(source: TransferError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NusbFastBootError
impl RefUnwindSafe for NusbFastBootError
impl Send for NusbFastBootError
impl Sync for NusbFastBootError
impl Unpin for NusbFastBootError
impl UnwindSafe for NusbFastBootError
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