pub struct FileObject(/* private fields */);Implementations§
Trait Implementations§
Source§impl Debug for FileObject
impl Debug for FileObject
Source§impl UserObject for FileObject
impl UserObject for FileObject
fn typ(&self) -> &'static str
fn get(&self, key: &str) -> Option<Value>
fn call_mut( &mut self, key: &str, args: Vec<Value>, ) -> Result<Value, Box<dyn Error>>
fn set(&mut self, key: &str, value: Value) -> Result<(), UserObjectError>
fn call(&self, key: &str, args: Vec<Value>) -> Result<Value, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for FileObject
impl RefUnwindSafe for FileObject
impl Send for FileObject
impl Sync for FileObject
impl Unpin for FileObject
impl UnwindSafe for FileObject
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