[][src]Struct glean_ffi::FfiConfiguration

#[repr(C)]pub struct FfiConfiguration<'a> {
    pub data_dir: FfiStr<'a>,
    pub package_name: FfiStr<'a>,
    pub upload_enabled: u8,
    pub max_events: Option<&'a i32>,
    pub delay_ping_lifetime_io: u8,
}

Configuration over FFI.

CAUTION: This must match exactly the definition on the Kotlin side. If this side is changed, the Kotlin side need to be changed, too.

Fields

data_dir: FfiStr<'a>package_name: FfiStr<'a>upload_enabled: u8max_events: Option<&'a i32>delay_ping_lifetime_io: u8

Trait Implementations

impl<'_, '_> TryFrom<&'_ FfiConfiguration<'_>> for Configuration[src]

Convert the FFI-compatible configuration object into the proper Rust configuration object.

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for FfiConfiguration<'a>

impl<'a> !Send for FfiConfiguration<'a>

impl<'a> !Sync for FfiConfiguration<'a>

impl<'a> Unpin for FfiConfiguration<'a>

impl<'a> UnwindSafe for FfiConfiguration<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,