pub struct MaxPacketSize(/* private fields */);Available on crate feature
ascii only.Expand description
The maximum number of bytes to put in a command packet.
It must be 80 bytes or larger. The default is 80 bytes.
Implementations§
Source§impl MaxPacketSize
impl MaxPacketSize
Trait Implementations§
Source§impl Clone for MaxPacketSize
impl Clone for MaxPacketSize
impl Copy for MaxPacketSize
Source§impl Debug for MaxPacketSize
impl Debug for MaxPacketSize
Source§impl Default for MaxPacketSize
impl Default for MaxPacketSize
impl Eq for MaxPacketSize
Source§impl Hash for MaxPacketSize
impl Hash for MaxPacketSize
Source§impl PartialEq for MaxPacketSize
impl PartialEq for MaxPacketSize
impl StructuralPartialEq for MaxPacketSize
Auto Trait Implementations§
impl Freeze for MaxPacketSize
impl RefUnwindSafe for MaxPacketSize
impl Send for MaxPacketSize
impl Sync for MaxPacketSize
impl Unpin for MaxPacketSize
impl UnsafeUnpin for MaxPacketSize
impl UnwindSafe for MaxPacketSize
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