pub enum OtpLineError {
Empty,
StrayTag {
tag: TagName,
line: OtpLineVersion,
},
}Variants§
Trait Implementations§
Source§impl Clone for OtpLineError
impl Clone for OtpLineError
Source§impl Debug for OtpLineError
impl Debug for OtpLineError
Source§impl Display for OtpLineError
impl Display for OtpLineError
impl Eq for OtpLineError
Source§impl Error for OtpLineError
impl Error for OtpLineError
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<OtpLineError> for PlanError
impl From<OtpLineError> for PlanError
Source§fn from(source: OtpLineError) -> Self
fn from(source: OtpLineError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OtpLineError
impl PartialEq for OtpLineError
impl StructuralPartialEq for OtpLineError
Auto Trait Implementations§
impl Forget for OtpLineError
impl Freeze for OtpLineError
impl Move for OtpLineError
impl RefUnwindSafe for OtpLineError
impl Send for OtpLineError
impl Sync for OtpLineError
impl Unpin for OtpLineError
impl UnsafeUnpin for OtpLineError
impl UnwindSafe for OtpLineError
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