pub enum MatchOutput {
Ok(String),
Err(String),
}
Variants§
Implementations§
Source§impl MatchOutput
impl MatchOutput
pub fn wrap_with_ok(self, pre: &str, post: &str) -> MatchOutput
pub fn wrap_with_err(self, pre: &str, post: &str) -> MatchOutput
pub fn expected_found(expected: String, found: String) -> MatchOutput
Auto Trait Implementations§
impl Freeze for MatchOutput
impl RefUnwindSafe for MatchOutput
impl Send for MatchOutput
impl Sync for MatchOutput
impl Unpin for MatchOutput
impl UnwindSafe for MatchOutput
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