#[repr(C)]pub struct CrossDomainInit {
pub hdr: CrossDomainHeader,
pub query_ring_id: u32,
pub channel_ring_id: u32,
pub channel_type: u32,
}
Fields§
§hdr: CrossDomainHeader
§query_ring_id: u32
§channel_ring_id: u32
§channel_type: u32
Trait Implementations§
source§impl Clone for CrossDomainInit
impl Clone for CrossDomainInit
source§fn clone(&self) -> CrossDomainInit
fn clone(&self) -> CrossDomainInit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CrossDomainInit
impl Debug for CrossDomainInit
source§impl Default for CrossDomainInit
impl Default for CrossDomainInit
source§fn default() -> CrossDomainInit
fn default() -> CrossDomainInit
Returns the “default value” for a type. Read more
source§impl FromBytes for CrossDomainInitwhere
CrossDomainHeader: FromBytes,
u32: FromBytes,
impl FromBytes for CrossDomainInitwhere
CrossDomainHeader: FromBytes,
u32: FromBytes,
source§impl FromZeros for CrossDomainInitwhere
CrossDomainHeader: FromZeros,
u32: FromZeros,
impl FromZeros for CrossDomainInitwhere
CrossDomainHeader: FromZeros,
u32: FromZeros,
source§impl IntoBytes for CrossDomainInit
impl IntoBytes for CrossDomainInit
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
source§impl TryFromBytes for CrossDomainInitwhere
CrossDomainHeader: TryFromBytes,
u32: TryFromBytes,
impl TryFromBytes for CrossDomainInitwhere
CrossDomainHeader: TryFromBytes,
u32: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8]
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8]
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8]
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8]
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8]
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8]
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for CrossDomainInit
impl Immutable for CrossDomainInitwhere
CrossDomainHeader: Immutable,
u32: Immutable,
Auto Trait Implementations§
impl RefUnwindSafe for CrossDomainInit
impl Send for CrossDomainInit
impl Sync for CrossDomainInit
impl Unpin for CrossDomainInit
impl UnwindSafe for CrossDomainInit
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