pub enum ContactError {
ParseFailed,
}Expand description
Contact parsing errors — calcard cannot parse the vCard input.
Variants§
ParseFailed
calcard could not parse the vCard; the input was not well-formed vCard.
Trait Implementations§
Source§impl Debug for ContactError
impl Debug for ContactError
Source§impl Display for ContactError
impl Display for ContactError
Source§impl Error for ContactError
impl Error for ContactError
1.30.0 · 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<ContactError> for PbapError
impl From<ContactError> for PbapError
Source§fn from(source: ContactError) -> Self
fn from(source: ContactError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContactError
impl RefUnwindSafe for ContactError
impl Send for ContactError
impl Sync for ContactError
impl Unpin for ContactError
impl UnsafeUnpin for ContactError
impl UnwindSafe for ContactError
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