pub struct Setup {
pub options: Vec<KeyValuePair>,
}Expand description
Unified SETUP (0x2F00).
Fields§
§options: Vec<KeyValuePair>Implementations§
Source§impl Setup
impl Setup
Sourcepub fn max_control_message_size(&self) -> Result<u64, CodecError>
pub fn max_control_message_size(&self) -> Result<u64, CodecError>
The MAX_CONTROL_MESSAGE_SIZE this SETUP advertises, or 65535 when it carries none (Section 9.1.8).
Trait Implementations§
impl Eq for Setup
impl StructuralPartialEq for Setup
Auto Trait Implementations§
impl Freeze for Setup
impl RefUnwindSafe for Setup
impl Send for Setup
impl Sync for Setup
impl Unpin for Setup
impl UnsafeUnpin for Setup
impl UnwindSafe for Setup
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