pub struct TryGetError {
pub requested: usize,
pub available: usize,
}
Expand description
Fields§
§requested: usize
The number of bytes necessary to get the value
available: usize
The number of bytes available in the buffer
Trait Implementations§
Source§impl Debug for TryGetError
impl Debug for TryGetError
Source§impl Display for TryGetError
impl Display for TryGetError
Source§impl PartialEq for TryGetError
impl PartialEq for TryGetError
impl Eq for TryGetError
impl StructuralPartialEq for TryGetError
Auto Trait Implementations§
impl Freeze for TryGetError
impl RefUnwindSafe for TryGetError
impl Send for TryGetError
impl Sync for TryGetError
impl Unpin for TryGetError
impl UnwindSafe for TryGetError
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