pub struct Replace {
pub replacement_ref: u8,
pub replaced_pid: u16,
pub replacement_pid: u16,
}Expand description
replace() object (Table 28): temporarily replace one component PID with
another from the same multiplex.
Fields§
§replacement_ref: u8replacement_ref — application-allocated reference matched by Clear Replace.
replaced_pid: u1613-bit replaced_PID — PID of the component to replace.
replacement_pid: u1613-bit replacement_PID — PID to replace it with.
Trait Implementations§
impl Copy for Replace
impl Eq for Replace
Source§impl Serialize for Replace
impl Serialize for Replace
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for Replace
Auto Trait Implementations§
impl Freeze for Replace
impl RefUnwindSafe for Replace
impl Send for Replace
impl Sync for Replace
impl Unpin for Replace
impl UnsafeUnpin for Replace
impl UnwindSafe for Replace
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