Enum golang_type_decl::golang_type_core::StructTypeParseError [−]
pub enum StructTypeParseError { NodeMissing(String), NodeKindUnknown(String), Utf8Error(Utf8Error), UnexpectedType(String), DuplicateField(String), StructTagParseError(StructTagParseError), }
Variants
NodeMissing(String)
NodeKindUnknown(String)
Utf8Error(Utf8Error)
UnexpectedType(String)
DuplicateField(String)
StructTagParseError(StructTagParseError)
Trait Implementations
impl Debug for StructTypeParseError
impl Debug for StructTypeParseError
impl Display for StructTypeParseError
impl Display for StructTypeParseError
impl Error for StructTypeParseError
impl Error for StructTypeParseError
pub fn source(&self) -> Option<&(dyn Error + 'static)>
pub fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<StructTagParseError> for StructTypeParseError
impl From<StructTagParseError> for StructTypeParseError
pub fn from(source: StructTagParseError) -> StructTypeParseError
pub fn from(source: StructTagParseError) -> StructTypeParseError
Performs the conversion.
impl From<StructTypeParseError> for TypeParseError
impl From<StructTypeParseError> for TypeParseError
pub fn from(source: StructTypeParseError) -> TypeParseError
pub fn from(source: StructTypeParseError) -> TypeParseError
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for StructTypeParseError
impl Send for StructTypeParseError
impl Sync for StructTypeParseError
impl Unpin for StructTypeParseError
impl UnwindSafe for StructTypeParseError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more