1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
mod builder;
mod fixed_parameters;

pub use self::{builder::*, fixed_parameters::*};
use super::*;

pub struct DisassociateFrame<'a> {
    bytes: Cow<'a, [u8]>,
}

impl<'a> DisassociateFrame<'a> {
    pub fn new<T: Into<Cow<'a, [u8]>>>(bytes: T) -> Self {
        Self {
            bytes: bytes.into(),
        }
    }
}
impl FrameTrait for DisassociateFrame<'_> {
    fn bytes(&self) -> &[u8] {
        self.bytes.as_ref()
    }
}
impl FragmentSequenceTrait for DisassociateFrame<'_> {}
impl ManagementFrameTrait for DisassociateFrame<'_> {}
impl DisassociateFixedParametersTrait for DisassociateFrame<'_> {}