Struct cyfs_base::ServiceContract
source · [−]pub struct ServiceContract { /* private fields */ }
Implementations
sourceimpl ServiceContract
impl ServiceContract
pub fn new() -> ServiceContract
Trait Implementations
sourceimpl Clone for ServiceContract
impl Clone for ServiceContract
sourcefn clone(&self) -> ServiceContract
fn clone(&self) -> ServiceContract
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServiceContract
impl Debug for ServiceContract
sourceimpl<'de> RawDecode<'de> for ServiceContract
impl<'de> RawDecode<'de> for ServiceContract
fn raw_decode(_buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncode for ServiceContract
impl RawEncode for ServiceContract
fn raw_measure(&self, purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>(
&self,
_buf: &'a mut [u8],
_purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
Auto Trait Implementations
impl RefUnwindSafe for ServiceContract
impl Send for ServiceContract
impl Sync for ServiceContract
impl Unpin for ServiceContract
impl UnwindSafe for ServiceContract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more