Struct nu_engine::MaybeTextCodec
source · [−]pub struct MaybeTextCodec { /* private fields */ }Implementations
sourceimpl MaybeTextCodec
impl MaybeTextCodec
pub fn decode(
&mut self,
src: &[u8]
) -> Result<Option<StringOrBinary>, ShellError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MaybeTextCodec
impl Send for MaybeTextCodec
impl Sync for MaybeTextCodec
impl Unpin for MaybeTextCodec
impl UnwindSafe for MaybeTextCodec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more