pub enum SchemaWriteError {
Write(WriteError),
LiteralRootIsHole,
ConflictingRootCodegenTypeName {
root_type_name: String,
type_codegen_type_name: String,
},
}Expand description
Errors that can occur during schema writing.
Variants§
Trait Implementations§
Source§impl Clone for SchemaWriteError
impl Clone for SchemaWriteError
Source§fn clone(&self) -> SchemaWriteError
fn clone(&self) -> SchemaWriteError
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaWriteError
impl Debug for SchemaWriteError
Source§impl Display for SchemaWriteError
impl Display for SchemaWriteError
Source§impl Error for SchemaWriteError
impl Error for SchemaWriteError
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<WriteError> for SchemaWriteError
impl From<WriteError> for SchemaWriteError
Source§fn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaWriteError
impl RefUnwindSafe for SchemaWriteError
impl Send for SchemaWriteError
impl Sync for SchemaWriteError
impl Unpin for SchemaWriteError
impl UnsafeUnpin for SchemaWriteError
impl UnwindSafe for SchemaWriteError
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