pub enum VdirItemGetError {
UnexpectedArg(Option<VdirReply>),
Locate(VdirItemLocateError),
}Expand description
Failure causes during a VdirItemGet step.
Variants§
UnexpectedArg(Option<VdirReply>)
The driver fed back a reply that does not match the pending request.
Locate(VdirItemLocateError)
The inner locate coroutine failed.
Trait Implementations§
Source§impl Clone for VdirItemGetError
impl Clone for VdirItemGetError
Source§fn clone(&self) -> VdirItemGetError
fn clone(&self) -> VdirItemGetError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VdirItemGetError
impl Debug for VdirItemGetError
Source§impl Display for VdirItemGetError
impl Display for VdirItemGetError
Source§impl Error for VdirItemGetError
impl Error for VdirItemGetError
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<VdirItemGetError> for VdirClientError
Available on crate feature client only.
impl From<VdirItemGetError> for VdirClientError
Available on crate feature
client only.Source§fn from(source: VdirItemGetError) -> Self
fn from(source: VdirItemGetError) -> Self
Converts to this type from the input type.
Source§impl From<VdirItemLocateError> for VdirItemGetError
impl From<VdirItemLocateError> for VdirItemGetError
Source§fn from(source: VdirItemLocateError) -> Self
fn from(source: VdirItemLocateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VdirItemGetError
impl RefUnwindSafe for VdirItemGetError
impl Send for VdirItemGetError
impl Sync for VdirItemGetError
impl Unpin for VdirItemGetError
impl UnsafeUnpin for VdirItemGetError
impl UnwindSafe for VdirItemGetError
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