Struct soketto::data::ByteSlice125
source · pub struct ByteSlice125<'a>(/* private fields */);
Expand description
Wrapper type which restricts the length of its byte slice to 125 bytes.
Trait Implementations§
source§impl AsRef<[u8]> for ByteSlice125<'_>
impl AsRef<[u8]> for ByteSlice125<'_>
source§impl<'a> Debug for ByteSlice125<'a>
impl<'a> Debug for ByteSlice125<'a>
Auto Trait Implementations§
impl<'a> Freeze for ByteSlice125<'a>
impl<'a> RefUnwindSafe for ByteSlice125<'a>
impl<'a> Send for ByteSlice125<'a>
impl<'a> Sync for ByteSlice125<'a>
impl<'a> Unpin for ByteSlice125<'a>
impl<'a> UnwindSafe for ByteSlice125<'a>
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