pub enum InvalidMethodDescriptor {
BrokenBrackets,
UnknownFieldTy(UnknownFieldType),
}Expand description
Error thrown when parsing a method descriptor.
Variants§
BrokenBrackets
Brackets not exist or not enclosed.
UnknownFieldTy(UnknownFieldType)
Error when parsing field type.
Trait Implementations§
Source§impl Clone for InvalidMethodDescriptor
impl Clone for InvalidMethodDescriptor
Source§fn clone(&self) -> InvalidMethodDescriptor
fn clone(&self) -> InvalidMethodDescriptor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidMethodDescriptor
impl Debug for InvalidMethodDescriptor
Source§impl Display for InvalidMethodDescriptor
impl Display for InvalidMethodDescriptor
Source§impl Error for InvalidMethodDescriptor
impl Error for InvalidMethodDescriptor
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<UnknownFieldType> for InvalidMethodDescriptor
impl From<UnknownFieldType> for InvalidMethodDescriptor
Source§fn from(value: UnknownFieldType) -> Self
fn from(value: UnknownFieldType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidMethodDescriptor
impl RefUnwindSafe for InvalidMethodDescriptor
impl Send for InvalidMethodDescriptor
impl Sync for InvalidMethodDescriptor
impl Unpin for InvalidMethodDescriptor
impl UnwindSafe for InvalidMethodDescriptor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)