pub struct FipsEndpointServiceReceiver { /* private fields */ }Expand description
Port-scoped receiver for one registered FSP service.
Unlike FipsEndpoint::recv_service_datagram_batch_into, this receiver
cannot consume datagrams registered by another service owner.
Implementations§
Source§impl FipsEndpointServiceReceiver
impl FipsEndpointServiceReceiver
Sourcepub async fn recv_batch_into(
&self,
datagrams: &mut Vec<FipsEndpointServiceDatagram>,
max: usize,
) -> Option<usize>
pub async fn recv_batch_into( &self, datagrams: &mut Vec<FipsEndpointServiceDatagram>, max: usize, ) -> Option<usize>
Receive one datagram for this service, then drain ready follow-ons.
Auto Trait Implementations§
impl !Freeze for FipsEndpointServiceReceiver
impl !RefUnwindSafe for FipsEndpointServiceReceiver
impl Send for FipsEndpointServiceReceiver
impl Sync for FipsEndpointServiceReceiver
impl Unpin for FipsEndpointServiceReceiver
impl UnsafeUnpin for FipsEndpointServiceReceiver
impl UnwindSafe for FipsEndpointServiceReceiver
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more