Struct sgx_tstd::io::Lazy [−][src]
pub struct Lazy<T> { /* fields omitted */ }
Methods
impl<T: Send + Sync + 'static> Lazy<T>
[src]
impl<T: Send + Sync + 'static> Lazy<T>
pub const fn new(init: fn() -> Arc<T>) -> Lazy<T>
[src]
pub const fn new(init: fn() -> Arc<T>) -> Lazy<T>
pub fn get(&'static self) -> Option<Arc<T>>
[src]
pub fn get(&'static self) -> Option<Arc<T>>