pub struct Report<const NAME: &'static str, const N: usize> { /* private fields */ }Implementations§
Source§impl<const NAME: &'static str, const N: usize> Report<NAME, N>
impl<const NAME: &'static str, const N: usize> Report<NAME, N>
pub fn warn<Object: Into<Issue>>(&self, object: Object)
pub fn error<Object: Into<Issue>>(&self, object: Object)
pub fn sub<'valid, const OTHER: &'static str>( &'valid self, ) -> Report<OTHER, { _ }>
pub fn with<Type>(self, value: Type) -> Act<Type>
pub fn with_default<Type: Default>(self) -> Act<Type>
pub fn fail<Type, Object: Into<Issue>>(self, object: Object) -> Act<Type>
Trait Implementations§
Auto Trait Implementations§
impl<const NAME: &'static str, const N: usize> Freeze for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> RefUnwindSafe for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> Send for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> Sync for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> Unpin for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> UnsafeUnpin for Report<NAME, N>
impl<const NAME: &'static str, const N: usize> UnwindSafe for Report<NAME, N>
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