pub struct NeedsMessage { /* private fields */ }Implementations§
Source§impl NeedsMessage
impl NeedsMessage
pub fn sha256(self, hash: Sha256) -> Self
pub fn error_type(self, error_type: ErrorTypes) -> Self
pub fn status(self, status: Status) -> Self
pub fn severity(self, severity: ErrorSeverity) -> Self
pub fn maybe_tool_version(self, version: Option<String>) -> Self
pub fn tool_version(self, version: String) -> Self
pub fn message(self, message: String) -> Error
Auto Trait Implementations§
impl Freeze for NeedsMessage
impl RefUnwindSafe for NeedsMessage
impl Send for NeedsMessage
impl Sync for NeedsMessage
impl Unpin for NeedsMessage
impl UnwindSafe for NeedsMessage
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more