Struct twizzler_net::NmHandle
source · pub struct NmHandle { /* private fields */ }
Implementations§
source§impl NmHandle
impl NmHandle
pub async fn handle<'a, F, Fut>( self: &'a Arc<NmHandle>, f: F ) -> Result<(), QueueError>where F: Fn(&'a Arc<NmHandle>, u32, RxRequest) -> Fut, Fut: Future<Output = RxCompletion>,
pub async fn submit(&self, req: TxRequest) -> Result<TxCompletion, QueueError>
pub fn submit_no_wait(&self, req: TxRequest)
pub fn allocatable_buffer_controller(&self) -> &BufferController
pub fn set_dead(&self)
pub fn is_dead(&self) -> bool
pub fn set_closed(&self)
pub fn is_closed(&self) -> bool
pub fn is_terminated(&self) -> bool
pub fn get_incoming_buffer(&self, pd: PacketData) -> ManagedBuffer<'_>
pub fn id(&self) -> u64
pub fn client_name(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl !ObjSafe for NmHandle
impl !RefUnwindSafe for NmHandle
impl Send for NmHandle
impl Sync for NmHandle
impl Unpin for NmHandle
impl UnwindSafe for NmHandle
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