pub struct RecvMaxSize(pub usize);Expand description
Limits size of message that socket can receive
This specifically limits byte size of message, rejecting any attempt sending receiving of size beyond the limit.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for RecvMaxSize
impl Clone for RecvMaxSize
Source§fn clone(&self) -> RecvMaxSize
fn clone(&self) -> RecvMaxSize
Returns a duplicate 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 RecvMaxSize
impl Debug for RecvMaxSize
Source§impl Options<Socket> for RecvMaxSize
impl Options<Socket> for RecvMaxSize
impl Copy for RecvMaxSize
Auto Trait Implementations§
impl Freeze for RecvMaxSize
impl RefUnwindSafe for RecvMaxSize
impl Send for RecvMaxSize
impl Sync for RecvMaxSize
impl Unpin for RecvMaxSize
impl UnwindSafe for RecvMaxSize
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