Docs.rs
muzzman-lib-0.3.5
muzzman-lib 0.3.5
Permalink
Docs.rs crate page
GPL-3.0
Links
Repository
crates.io
Source
Owners
konkitoman
Dependencies
bytes-kman ^0.1
normal
get_ref ^0.1.0
normal
libloading ^0.7.4
normal
muzzman-lib-macros ^0.1.3
normal
rand ^0.8.5
normal
serde ^1.0.152
normal
Versions
1.72%
of the crate is documented
Platform
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ERef
muzzman_
lib
0.3.5
ERef
Aliased Type
Trait Implementations
Common
TElement
TGetLogger
In muzzman_
lib::
types
muzzman_lib
::
types
Type Alias
ERef
Copy item path
Source
pub type ERef =
Arc
<
RwLock
<
RefElement
>>;
Aliased Type
§
pub struct ERef {
/* private fields */
}
Trait Implementations
§
Source
§
impl
Common
for
ERef
Source
§
fn
get_name
(&self) ->
Result
<
String
,
SessionError
>
Source
§
fn
set_name
(&self, name: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_desc
(&self) ->
Result
<
String
,
SessionError
>
Source
§
fn
set_desc
(&self, desc: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
Source
§
fn
notify
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
Source
§
fn
emit
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
Source
§
fn
subscribe
(&self, _ref:
ID
) ->
Result
<
()
,
SessionError
>
Source
§
fn
unsubscribe
(&self, _ref:
ID
) ->
Result
<
()
,
SessionError
>
Source
§
impl
TElement
for
ERef
Source
§
fn
get_session
(&self) ->
Result
<
Box
<dyn
TSession
>,
SessionError
>
Source
§
fn
get_meta
(&self) ->
Result
<
String
,
SessionError
>
Source
§
fn
set_meta
(&self, meta: &
str
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_element_data
(&self) ->
Result
<
Data
,
SessionError
>
Source
§
fn
set_element_data
(&self, data:
Data
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_module_data
(&self) ->
Result
<
Data
,
SessionError
>
Source
§
fn
set_module_data
(&self, data:
Data
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_module
(&self) ->
Result
<
Option
<
MRef
>,
SessionError
>
Source
§
fn
set_module
(&self, module:
Option
<
ModuleId
>) ->
Result
<
()
,
SessionError
>
Source
§
fn
resolv_module
(&self) ->
Result
<
bool
,
SessionError
>
Source
§
fn
init
(&self) ->
Result
<
bool
,
SessionError
>
Source
§
fn
get_statuses
(&self) ->
Result
<
Vec
<
String
>,
SessionError
>
Source
§
fn
set_statuses
(&self, statuses:
Vec
<
String
>) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_status
(&self) ->
Result
<
usize
,
SessionError
>
Source
§
fn
get_status_msg
(&self) ->
Result
<
String
,
SessionError
>
Source
§
fn
set_status
(&self, status:
usize
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_data
(&self) ->
Result
<
FileOrData
,
SessionError
>
Source
§
fn
set_data
(&self, data:
FileOrData
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_progress
(&self) ->
Result
<
f32
,
SessionError
>
Source
§
fn
set_progress
(&self, progress:
f32
) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_should_save
(&self) ->
Result
<
bool
,
SessionError
>
Source
§
fn
set_should_save
(&self, should_save:
bool
) ->
Result
<
()
,
SessionError
>
Source
§
fn
is_enabled
(&self) ->
Result
<
bool
,
SessionError
>
Source
§
fn
set_enabled
( &self, enabled:
bool
, storage:
Option
<
Storage
>, ) ->
Result
<
()
,
SessionError
>
Source
§
fn
get_element_info
(&self) ->
Result
<
ElementInfo
,
SessionError
>
Source
§
fn
wait
(&self) ->
Result
<
()
,
SessionError
>
Source
§
fn
destroy
(self) ->
Result
<
ERow
,
SessionError
>
Source
§
fn
id
(&self) ->
ElementId
Source
§
fn
get_url
(&self) ->
Result
<
Option
<
String
>,
SessionError
>
Source
§
fn
set_url
(&self, url:
Option
<
String
>) ->
Result
<
()
,
SessionError
>
Source
§
impl
TGetLogger
for
ERef
Source
§
fn
get_logger
(&self, dst:
Option
<
Arc
<
Mutex
<
File
>>>) ->
Logger