pub enum ExternalDataError {
GpaRange(Error),
Access(AccessError),
WrongExternalDataType,
}Expand description
An error returned by read_external_ranges
Variants§
GpaRange(Error)
The packet is corrupted in some way (e.g. it does not specify a reasonable set of GPA ranges).
Access(AccessError)
The packet specifies memory that this vmbus cannot read, for some reason.
WrongExternalDataType
Caller used read_external_ranges when the packet contains a buffer id,
and the caller should have called read_transfer_ranges
Trait Implementations§
Source§impl Debug for ExternalDataError
impl Debug for ExternalDataError
Source§impl Display for ExternalDataError
impl Display for ExternalDataError
Source§impl Error for ExternalDataError
impl Error for ExternalDataError
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()
Auto Trait Implementations§
impl Freeze for ExternalDataError
impl !RefUnwindSafe for ExternalDataError
impl Send for ExternalDataError
impl Sync for ExternalDataError
impl Unpin for ExternalDataError
impl UnsafeUnpin for ExternalDataError
impl !UnwindSafe for ExternalDataError
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