Struct metacall::MetacallStringConversionError
source · pub struct MetacallStringConversionError {
pub original_string: String,
pub nul_error: NulError,
}
Expand description
This error may happen when passing contains a null character. You can access the original string and the NulError throughout this struct.
Fields§
§original_string: String
§nul_error: NulError
Trait Implementations§
source§impl Clone for MetacallStringConversionError
impl Clone for MetacallStringConversionError
source§fn clone(&self) -> MetacallStringConversionError
fn clone(&self) -> MetacallStringConversionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MetacallStringConversionError
impl Send for MetacallStringConversionError
impl Sync for MetacallStringConversionError
impl Unpin for MetacallStringConversionError
impl UnwindSafe for MetacallStringConversionError
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