[−][src]Enum insta::internals::Redaction
Replaces a value with another one. Represents a redaction.
Variants
Static(Content)
Static redaction with new content.
Redaction with new content.
Trait Implementations
impl<'a> From<&'a [u8]> for Redaction
[src]
impl<'a> From<&'a str> for Redaction
[src]
impl From<()> for Redaction
[src]
impl From<String> for Redaction
[src]
impl From<Vec<u8, Global>> for Redaction
[src]
impl From<bool> for Redaction
[src]
impl From<char> for Redaction
[src]
impl From<f32> for Redaction
[src]
impl From<f64> for Redaction
[src]
impl From<i16> for Redaction
[src]
impl From<i32> for Redaction
[src]
impl From<i64> for Redaction
[src]
impl From<i8> for Redaction
[src]
impl From<u16> for Redaction
[src]
impl From<u32> for Redaction
[src]
impl From<u64> for Redaction
[src]
impl From<u8> for Redaction
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Redaction
[src]
impl Send for Redaction
[src]
impl Sync for Redaction
[src]
impl Unpin for Redaction
[src]
impl !UnwindSafe for Redaction
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,