pub struct FrameBuilder { /* private fields */ }Implementations§
Source§impl FrameBuilder
impl FrameBuilder
Sourcepub fn copy_from_slice(self, src: &[u8]) -> Self
pub fn copy_from_slice(self, src: &[u8]) -> Self
Copy PDU data from slice.
If the source slice is larger than PDU_MAX_LENGTH (8 bytes),
only the first 8 bytes will be copied.
Trait Implementations§
Source§impl AsMut<[u8]> for FrameBuilder
impl AsMut<[u8]> for FrameBuilder
Auto Trait Implementations§
impl Freeze for FrameBuilder
impl RefUnwindSafe for FrameBuilder
impl Send for FrameBuilder
impl Sync for FrameBuilder
impl Unpin for FrameBuilder
impl UnsafeUnpin for FrameBuilder
impl UnwindSafe for FrameBuilder
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