Struct mlx_ethernet::command_queue::CommandBuilder
source · pub struct CommandBuilder { /* private fields */ }
Expand description
Struct that makes it easier to pass the variety of arguments that are required for different commands
Implementations§
source§impl CommandBuilder
impl CommandBuilder
pub fn new(opcode: CommandOpcode) -> CommandBuilder
pub fn opmod(self, opmod: u16) -> CommandBuilder
pub fn allocated_pages( self, allocated_pages: Vec<PhysicalAddress> ) -> CommandBuilder
pub fn uar(self, uar: u32) -> CommandBuilder
pub fn queue_size(self, size: u32) -> CommandBuilder
pub fn eqn(self, eqn: Eqn) -> CommandBuilder
pub fn db_page(self, db_page: PhysicalAddress) -> CommandBuilder
pub fn td(self, td: Td) -> CommandBuilder
pub fn cqn(self, cqn: Cqn) -> CommandBuilder
pub fn tisn(self, tisn: Tisn) -> CommandBuilder
pub fn pd(self, pd: Pd) -> CommandBuilder
pub fn sqn(self, sqn: Sqn) -> CommandBuilder
pub fn collapsed_cq(self) -> CommandBuilder
pub fn rqn(self, rqn: Rqn) -> CommandBuilder
pub fn mtu(self, mtu: u16) -> CommandBuilder
pub fn flow_table_id(self, id: FtId) -> CommandBuilder
pub fn flow_group_id(self, id: FgId) -> CommandBuilder
pub fn tirn(self, tirn: Tirn) -> CommandBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CommandBuilder
impl Send for CommandBuilder
impl Sync for CommandBuilder
impl Unpin for CommandBuilder
impl UnwindSafe for CommandBuilder
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