pub struct MaxMessageSize(pub u64);Expand description
a=max-message-size:<octets> (RFC 8841 section 6): 1*DIGIT without leading zeroes.
0 means the endpoint handles messages of any size; an absent attribute means 64
kilobytes.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for MaxMessageSize
impl Clone for MaxMessageSize
impl Copy for MaxMessageSize
Source§impl Debug for MaxMessageSize
impl Debug for MaxMessageSize
Source§impl Display for MaxMessageSize
impl Display for MaxMessageSize
impl Eq for MaxMessageSize
Source§impl Hash for MaxMessageSize
impl Hash for MaxMessageSize
Source§impl PartialEq for MaxMessageSize
impl PartialEq for MaxMessageSize
impl StructuralPartialEq for MaxMessageSize
Auto Trait Implementations§
impl Forget for MaxMessageSize
impl Freeze for MaxMessageSize
impl Move for MaxMessageSize
impl RefUnwindSafe for MaxMessageSize
impl Send for MaxMessageSize
impl Sync for MaxMessageSize
impl Unpin for MaxMessageSize
impl UnsafeUnpin for MaxMessageSize
impl UnwindSafe for MaxMessageSize
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