pub trait ICapabilityMethods: ICapability {
// Provided methods
fn ctor(self, value: impl Into<u8>) { ... }
fn add(self, i: impl Into<i32>, v: impl Into<u8>) { ... }
fn is_zero(self) -> bool { ... }
fn write_to_stream(self, stream: impl Into<Stream_2>, v: impl Into<u8>) { ... }
fn read_from_stream(self, stream: impl Into<Stream_2>) -> u8 { ... }
}Provided Methods§
Sourcefn write_to_stream(self, stream: impl Into<Stream_2>, v: impl Into<u8>)
fn write_to_stream(self, stream: impl Into<Stream_2>, v: impl Into<u8>)
WriteToStream(crate::app::stream_2::Stream_2, u8) overload
Sourcefn read_from_stream(self, stream: impl Into<Stream_2>) -> u8
fn read_from_stream(self, stream: impl Into<Stream_2>) -> u8
ReadFromStream(crate::app::stream_2::Stream_2) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ICapability> ICapabilityMethods for __T
Available on crate feature
app-capability only.