pub struct Oss { /* private fields */ }Implementations§
source§impl Oss
impl Oss
pub fn new(path: &str) -> Self
pub fn from(data: JsonValue) -> Self
pub fn default() -> Self
pub fn connection(&mut self, name: &str) -> &mut Self
pub fn put(&mut self, data: &str) -> String
pub fn get(&mut self, name: &str) -> JsonValue
pub fn get_head(&mut self, name: &str) -> JsonValue
pub fn get_head_meta(&mut self, name: &str) -> JsonValue
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Oss
impl Send for Oss
impl Sync for Oss
impl Unpin for Oss
impl UnwindSafe for Oss
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more