Trait zeroconf::ffi::UnwrapOrNull[][src]

pub trait UnwrapOrNull<T> {
    fn unwrap_or_null(&self) -> *const T;
}
Expand description

Helper trait to unwrap a type to a *const T or a null-pointer if not present.

Required methods

Unwraps this type to *const T or ptr::null() if not present.

Implementations on Foreign Types

Implementors