pub struct Warning {
pub source: SourceRef,
pub message: String,
}Expand description
Input c4 accepted but did not act on. Only a Trace carries
warnings: the library never prints them, and load() drops them.
Display and the serialized { "source", "message" } form use the
same source label as the trace leaves.
Fields§
§source: SourceRef§message: StringStarts with the line number where there is one: line 4: ….
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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