Expand description
Provides FacebookInit structure that must be used in Facebook code that requires pre-initialization, e.g. like C++’s logging.
Structs§
- Facebook
Init - This type is a token that allows code to prove initFacebook has been called.
A function can require this proof by taking
_fb: FacebookInit
as an argument.
Functions§
- assume_
init ⚠ - Produces a proof that initFacebook has been called, without actually calling initFacebook.
- expect_
init - Produces proof that initFacebook has been called, or panics otherwise.
- perform_
init ⚠ - Initializes fbinit, returning proof that
initFacebook
was called. - was_
performed - Returns if facebookInit has been performed.