pub enum ReplaceError {
Read(Error),
Write(WriteError),
}Expand description
Why replace_part failed: the container it was given, or the container it would write.
Variants§
Read(Error)
The container is not one chunks reads.
Write(WriteError)
The edited container cannot be written.
Trait Implementations§
Source§impl Clone for ReplaceError
impl Clone for ReplaceError
Source§impl Debug for ReplaceError
impl Debug for ReplaceError
Source§impl Display for ReplaceError
impl Display for ReplaceError
impl Eq for ReplaceError
Source§impl Error for ReplaceError
impl Error for ReplaceError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ReplaceError
impl PartialEq for ReplaceError
impl StructuralPartialEq for ReplaceError
Auto Trait Implementations§
impl Forget for ReplaceError
impl Freeze for ReplaceError
impl RefUnwindSafe for ReplaceError
impl Send for ReplaceError
impl Sync for ReplaceError
impl Unpin for ReplaceError
impl UnsafeUnpin for ReplaceError
impl UnwindSafe for ReplaceError
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