pub struct UnixEncoding;
Expand description
Represents a Unix-specific Encoding
Trait Implementations§
Source§impl Clone for UnixEncoding
impl Clone for UnixEncoding
Source§fn clone(&self) -> UnixEncoding
fn clone(&self) -> UnixEncoding
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 moreSource§impl Debug for UnixEncoding
impl Debug for UnixEncoding
Source§impl Display for UnixEncoding
impl Display for UnixEncoding
Source§impl Encoding for UnixEncoding
impl Encoding for UnixEncoding
Source§type Components<'a> = UnixComponents<'a>
type Components<'a> = UnixComponents<'a>
Represents the type of component that will be derived by this encoding
Source§fn components(path: &[u8]) -> Self::Components<'_>
fn components(path: &[u8]) -> Self::Components<'_>
Produces an iterator of
Component
s over the given the byte slice (path
)Source§fn push(current_path: &mut Vec<u8>, path: &[u8])
fn push(current_path: &mut Vec<u8>, path: &[u8])
Pushes a byte slice (
path
) onto the an existing path (current_path
)Source§fn push_checked(
current_path: &mut Vec<u8>,
path: &[u8],
) -> Result<(), CheckedPathError>
fn push_checked( current_path: &mut Vec<u8>, path: &[u8], ) -> Result<(), CheckedPathError>
Like
Encoding::push
, but enforces several new rules: Read moreimpl Copy for UnixEncoding
Auto Trait Implementations§
impl Freeze for UnixEncoding
impl RefUnwindSafe for UnixEncoding
impl Send for UnixEncoding
impl Sync for UnixEncoding
impl Unpin for UnixEncoding
impl UnwindSafe for UnixEncoding
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