pub enum SetBytesError {
LengthOverflow,
}Expand description
The error of Bytes::set.
Variants§
LengthOverflow
The value is too long to store.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SetBytesError
impl Freeze for SetBytesError
impl Move for SetBytesError
impl RefUnwindSafe for SetBytesError
impl Send for SetBytesError
impl Sync for SetBytesError
impl Unpin for SetBytesError
impl UnsafeUnpin for SetBytesError
impl UnwindSafe for SetBytesError
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