embassy-usb-synopsys-otg

Crates

git

Versions

default

Flavors

Skip to main content

IsoSlot

Struct IsoSlot 

Source
pub struct IsoSlot<'a, 'd, M = CriticalSectionRawMutex>
where M: RawMutex + Copy,
{ /* private fields */ }
Expand description

Reserved isochronous IN slot returned by IsoEndpointIn::ready.

Trait Implementations§

Source§

impl<M> IsoInSlot for IsoSlot<'_, '_, M>
where M: RawMutex + Copy,

Source§

fn skipped(&self) -> Option<NonZeroU32>

Service intervals left empty by the writer before this slot, if any. Read more
Source§

fn write(self, data: &[u8]) -> Result<(), IsoWriteError>

Queue one packet for this slot without waiting. Read more

Auto Trait Implementations§

§

impl<'a, 'd, M = CriticalSectionRawMutex> !RefUnwindSafe for IsoSlot<'a, 'd, M>

§

impl<'a, 'd, M = CriticalSectionRawMutex> !UnwindSafe for IsoSlot<'a, 'd, M>

§

impl<'a, 'd, M> Forget for IsoSlot<'a, 'd, M>

§

impl<'a, 'd, M> Freeze for IsoSlot<'a, 'd, M>
where &'a mut Endpoint<'d, In, M>: Freeze,

§

impl<'a, 'd, M> Move for IsoSlot<'a, 'd, M>

§

impl<'a, 'd, M> Send for IsoSlot<'a, 'd, M>
where &'a mut Endpoint<'d, In, M>: Send,

§

impl<'a, 'd, M> Sync for IsoSlot<'a, 'd, M>
where &'a mut Endpoint<'d, In, M>: Sync,

§

impl<'a, 'd, M> Unpin for IsoSlot<'a, 'd, M>
where &'a mut Endpoint<'d, In, M>: Unpin,

§

impl<'a, 'd, M> UnsafeUnpin for IsoSlot<'a, 'd, M>
where &'a mut Endpoint<'d, In, M>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.