pub enum GattError {
MissingParameters,
PeerNotFound,
HandleNotFound,
Internal,
// some variants omitted
}Variants§
MissingParameters
One or more of the FIDL call parameters are missing.
PeerNotFound
Peer not found.
HandleNotFound
Handle not found.
Internal
Operation failed (check logs).
Implementations§
Trait Implementations§
Source§impl<D> Decode<GattError, D> for GattErrorwhere
D: ResourceDialect,
impl<D> Decode<GattError, D> for GattErrorwhere
D: ResourceDialect,
Source§impl Ord for GattError
impl Ord for GattError
1.21.0 (const: unstable) · 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 PartialOrd for GattError
impl PartialOrd for GattError
Source§impl TypeMarker for GattError
impl TypeMarker for GattError
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 GattError
impl ValueTypeMarker for GattError
Source§type Borrowed<'a> = GattError
type Borrowed<'a> = GattError
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<GattError as TypeMarker>::Owned,
) -> <GattError as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<GattError as TypeMarker>::Owned, ) -> <GattError as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned to Self::Borrowed.impl Copy for GattError
impl Eq for GattError
impl StructuralPartialEq for GattError
Auto Trait Implementations§
impl Freeze for GattError
impl RefUnwindSafe for GattError
impl Send for GattError
impl Sync for GattError
impl Unpin for GattError
impl UnsafeUnpin for GattError
impl UnwindSafe for GattError
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