pub enum EstablishStreamsError {
NotSupported,
DuplicateCis,
CisAlreadyEstablished,
PeerNotConnected,
// some variants omitted
}
Variants§
NotSupported
The controller does not support a CIS with the parameters specified for it.
DuplicateCis
The same CIS was specified multiple times in a call.
CisAlreadyEstablished
One or more CISes specified already exist.
PeerNotConnected
One or more of the peers specified in the CIS parameters are not connected.
Implementations§
Source§impl EstablishStreamsError
impl EstablishStreamsError
pub fn from_primitive(prim: u32) -> Option<Self>
pub fn from_primitive_allow_unknown(prim: u32) -> Self
pub fn unknown() -> Self
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
Trait Implementations§
Source§impl Clone for EstablishStreamsError
impl Clone for EstablishStreamsError
Source§fn clone(&self) -> EstablishStreamsError
fn clone(&self) -> EstablishStreamsError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EstablishStreamsError
impl Debug for EstablishStreamsError
Source§impl<D: ResourceDialect> Decode<EstablishStreamsError, D> for EstablishStreamsError
impl<D: ResourceDialect> Decode<EstablishStreamsError, D> for EstablishStreamsError
Source§impl<D: ResourceDialect> Encode<EstablishStreamsError, D> for EstablishStreamsError
impl<D: ResourceDialect> Encode<EstablishStreamsError, D> for EstablishStreamsError
Source§impl Hash for EstablishStreamsError
impl Hash for EstablishStreamsError
Source§impl Ord for EstablishStreamsError
impl Ord for EstablishStreamsError
Source§fn cmp(&self, other: &EstablishStreamsError) -> Ordering
fn cmp(&self, other: &EstablishStreamsError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EstablishStreamsError
impl PartialEq for EstablishStreamsError
Source§impl PartialOrd for EstablishStreamsError
impl PartialOrd for EstablishStreamsError
Source§impl TypeMarker for EstablishStreamsError
impl TypeMarker for EstablishStreamsError
Source§type Owned = EstablishStreamsError
type Owned = EstablishStreamsError
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for EstablishStreamsError
impl ValueTypeMarker for EstablishStreamsError
Source§type Borrowed<'a> = EstablishStreamsError
type Borrowed<'a> = EstablishStreamsError
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for EstablishStreamsError
impl Eq for EstablishStreamsError
impl StructuralPartialEq for EstablishStreamsError
Auto Trait Implementations§
impl Freeze for EstablishStreamsError
impl RefUnwindSafe for EstablishStreamsError
impl Send for EstablishStreamsError
impl Sync for EstablishStreamsError
impl Unpin for EstablishStreamsError
impl UnwindSafe for EstablishStreamsError
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