pub struct FileInfo {
pub is_append: Option<bool>,
pub observer: Option<Event>,
pub stream: Option<Stream>,
pub attributes: Option<NodeAttributes2>,
}
Expand description
Auxiliary data for the file representation of a node.
Fields§
§is_append: Option<bool>
§observer: Option<Event>
§stream: Option<Stream>
§attributes: Option<NodeAttributes2>
Trait Implementations§
Source§impl CompatFrom<FileInfo> for FileInfo
impl CompatFrom<FileInfo> for FileInfo
Source§fn compat_from(value: FileInfo) -> Self
fn compat_from(value: FileInfo) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<FileInfo> for FileInfo
impl CompatFrom<FileInfo> for FileInfo
Source§fn compat_from(value: FileInfo) -> Self
fn compat_from(value: FileInfo) -> Self
Converts
value
into a value of this type.Source§impl Encodable for FileInfo
impl Encodable for FileInfo
Source§type Encoded = WireFileInfo<'static>
type Encoded = WireFileInfo<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl<'de> FromWire<WireFileInfo<'de>> for FileInfo
impl<'de> FromWire<WireFileInfo<'de>> for FileInfo
Source§fn from_wire(wire_: WireFileInfo<'de>) -> Self
fn from_wire(wire_: WireFileInfo<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
impl StructuralPartialEq for FileInfo
Auto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]