Function utc_offset::try_set_global_offset
source · pub fn try_set_global_offset(o: UtcOffset) -> Result<()>
Expand description
Attempts to set the global offset, returning an error if the write lock cannot be obtained.
pub fn try_set_global_offset(o: UtcOffset) -> Result<()>
Attempts to set the global offset, returning an error if the write lock cannot be obtained.